fix zsh config
This commit is contained in:
20
private_dot_config/zsh/dot_zshenv
Normal file
20
private_dot_config/zsh/dot_zshenv
Normal 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"
|
||||
Reference in New Issue
Block a user