fix: adapt enhancd behaviour

This commit is contained in:
Michel 2023-07-28 09:47:24 +02:00
parent 6195431d44
commit 6e4aefb64e
1 changed files with 6 additions and 2 deletions

8
.zshrc
View File

@ -45,8 +45,12 @@ source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc"
#
# See https://github.com/b4b4r07/enhancd
#
# Changes from default behaviour:
# - Use single-dot to show upper tree (default is sub-dir);
# (use Alt-C (provided by fzf) to go into sub-dir).
ENHANCD_DIR=$HOME/.zim
ENHANCD_DOT_ARG='.'
ENHANCD_ARG_DOUBLE_DOT='.'
ENHANCD_ENABLE_SINGLE_DOT=false
### fzf
#
@ -273,7 +277,7 @@ fi
###
export BROWSER=firefox
export EDITOR=nvim
export EDITOR=vi
# -i Searches ignore case
# -F Automatically exit if the entire file can be displayed