From 4ff2d20962c20e12533209296dc836e53948cec0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 21 Sep 2020 14:26:46 +0200 Subject: zsh: include untracked files in fzf ^X^F binding --- user/zsh/zshrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'user/zsh') diff --git a/user/zsh/zshrc b/user/zsh/zshrc index c90fa933..195eaedb 100644 --- a/user/zsh/zshrc +++ b/user/zsh/zshrc @@ -111,9 +111,7 @@ else 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 -- cgit 1.4.1