diff options
author | Alan Pearce | 2020-09-04 15:52:47 +0200 |
---|---|---|
committer | Alan Pearce | 2020-09-04 15:52:47 +0200 |
commit | 4a6818f03acf0d9168402d7334cb00f6de1875e0 (patch) | |
tree | 99191ca8c8c5fa76d883f07473ce838aa1850684 | |
parent | 0524e9cc1abbad93fb6c12cd3a22ca602086a9e7 (diff) | |
download | nixfiles-4a6818f03acf0d9168402d7334cb00f6de1875e0.tar.lz nixfiles-4a6818f03acf0d9168402d7334cb00f6de1875e0.tar.zst nixfiles-4a6818f03acf0d9168402d7334cb00f6de1875e0.zip |
zsh: Fix missing leading characters in fzf file search
-rw-r--r-- | user/zsh/zshrc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc index e7bc871b..6632490e 100644 --- a/user/zsh/zshrc +++ b/user/zsh/zshrc @@ -110,8 +110,7 @@ fi export FZF_CTRL_T_COMMAND=' (git ls-tree -r --name-only HEAD || - fd --hidden --follow --exclude ".git" . | - sed s/^..//) 2> /dev/null' + fd --hidden --follow --exclude ".git" .) 2> /dev/null' export FZF_ALT_C_COMMAND='fd --type d --hidden --follow --exclude ".git" .' export FZF_DEFAULT_COMMAND=$FZF_CTRL_T_COMMAND |