zsh: include untracked files in fzf ^X^F binding
Alan Pearce alan@alanpearce.eu
Mon, 21 Sep 2020 14:26:46 +0200
1 files changed, 1 insertions(+), 3 deletions(-)
jump to
M user/zsh/zshrc → user/zsh/zshrc
@@ -111,9 +111,7 @@ AGKOZAK_CUSTOM_RPROMPT='${prompt_context}%(3V.%F{${AGKOZAK_COLORS_BRANCH_STATUS}%3v%f.)' fi fi -export FZF_CTRL_T_COMMAND=' - (git ls-tree -r --name-only HEAD || - fd --hidden --follow --exclude ".git" .) 2> /dev/null' +export FZF_CTRL_T_COMMAND='(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