fix zsh config

This commit is contained in:
francois
2026-05-25 13:04:41 +02:00
parent 88f40ff6f4
commit 60c3656b9d

View File

@@ -0,0 +1,20 @@
#!/bin/sh
# some default
export EDITOR="nvim"
# Add local stuff to PATH
export PATH=$HOME/.local/bin:$PATH
# XDG dir spec
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
# fzf
export FZF_DEFAULT_OPTS="--style default --layout=reverse --height 30% --preview='batcat --plain --color=always {}'"
export FZF_CTRL_R_OPTS="--style minimal --info inline --no-sort --no-preview" # separate opts for history widget
# man
export MANPAGER="sh -c 'col -bx | batcat --language=man --plain'"
export MANROFFOPT="-c"