Fix quoting in fzf-widget settings, switch to active fork

This commit is contained in:
crater2150 2023-01-13 11:38:12 +01:00
parent 45678c7037
commit e18474d56b
4 changed files with 3 additions and 9 deletions

2
.zimrc
View file

@ -1,6 +1,6 @@
zmodule jreese/zsh-titles
zmodule crater2150-zsh/fzf-widgets
zmodule SmartFinn/fzf-widgets
zmodule crater2150-zsh/conf
zmodule crater2150-zsh/chroma-z

View file

@ -100,14 +100,10 @@ bindkey "^xf" fzf-insert-files
bindkey "^xd" fzf-insert-directory
bindkey "^xn" fzf-insert-named-directory
# Start fzf in a tmux pane
FZF_WIDGET_TMUX=1
# use fd for finding directories and files
FZF_CHANGE_DIR_FIND_COMMAND="fd -t d"
FZF_INSERT_DIR_COMMAND="fd -t d"
FZF_INSERT_FILES_COMMAND="fd -t f"
FZF_EDIT_FILES_COMMAND="fd -t f"
# modify history command to remove duplicates
FZF_HISTORY_COMMAND="fc -l 1 | sed s/ *[0-9]* //g | awk !seen[\$0]++"
FZF_HISTORY_COMMAND="fc -l 1 | sed 's/ *[0-9]* //g' | awk '!seen[\$0]++'"

1
zplug

@ -1 +0,0 @@
Subproject commit 18cfcd4f761eceaf2ca63a291d11782d0f8b590e

3
zshrc
View file

@ -57,8 +57,6 @@ function(){
try-source $(zdotfile dirs)
}
. $(zdotfile completion.zsh)
ZIM_HOME=${XDG_CACHE_HOME:-$HOME/.cache}/zim
if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then
@ -71,6 +69,7 @@ fi
source ${ZIM_HOME}/init.zsh
. $(zdotfile completion.zsh)
#source $(zdotfile zplug.zsh)
. $(zdotfile bindings.zsh)