Compare commits
2 commits
39ae69891a
...
7ed5fab5d8
Author | SHA1 | Date | |
---|---|---|---|
|
7ed5fab5d8 | ||
|
516d837e19 |
1 changed files with 14 additions and 3 deletions
|
@ -96,9 +96,20 @@ if [ -e "${XDG_RUNTIME_DIR}/docker.sock" ]; then
|
|||
export DOCKER_HOST="unix://${XDG_RUNTIME_DIR}/docker.sock"
|
||||
fi
|
||||
|
||||
if command -v fzf &> /dev/null && command -v ag &> /dev/null; then
|
||||
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 || :
|
||||
fi
|
||||
|
||||
typeset -U path
|
||||
|
|
Loading…
Reference in a new issue