Compare commits
No commits in common. "7ed5fab5d87c02aa0567cbb06b992f3409e7ab7e" and "39ae69891aa5666a3e0f36d11e02b32a1f15ee15" have entirely different histories.
7ed5fab5d8
...
39ae69891a
1 changed files with 3 additions and 14 deletions
|
@ -96,20 +96,9 @@ if [ -e "${XDG_RUNTIME_DIR}/docker.sock" ]; then
|
|||
export DOCKER_HOST="unix://${XDG_RUNTIME_DIR}/docker.sock"
|
||||
fi
|
||||
|
||||
if command -v fzf &> /dev/null; then
|
||||
if command -v rg &> /dev/null; then
|
||||
export FZF_DEFAULT_COMMAND="rg --files --hidden --follow --glob '!.git'"
|
||||
elif command -v ag &> /dev/null; then
|
||||
export FZF_DEFAULT_COMMAND='ag --skip-vcs-ignores --nocolor -g "" -l'
|
||||
fi
|
||||
|
||||
if [ -n "${FZF_DEFAULT_COMMAND}" ]; then
|
||||
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -r "${HOME}/.orbstack/shell/init.zsh" ]; then
|
||||
source ~/.orbstack/shell/init.zsh 2>/dev/null || :
|
||||
if command -v fzf &> /dev/null && command -v ag &> /dev/null; then
|
||||
export FZF_DEFAULT_COMMAND='ag --skip-vcs-ignores --nocolor -g "" -l'
|
||||
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
|
||||
fi
|
||||
|
||||
typeset -U path
|
||||
|
|
Loading…
Reference in a new issue