Adding bash/fzf support in Arch

This commit is contained in:
Andrew Davidson 2024-09-11 12:59:24 -07:00
parent 9aac30b6b3
commit a1d1b93377
Signed by: amd
SSH key fingerprint: SHA256:bEXCGvHGPU8WP+o0a21VMf/KNEnNKxHz0fe64QX30kg

View file

@ -284,6 +284,15 @@ if [ -d /usr/share/doc/fzf/examples ]; then
fi fi
fi fi
# Arch
if [ -d /usr/share/fzf ]; then
source /usr/share/fzf/key-bindings.bash
if [ -f /usr/share/fzf/completion.bash ]; then
source /usr/share/fzf/completion.bash
fi
fi
# MacOS # MacOS
if [ -d /opt/homebrew/opt/fzf/shell ]; then if [ -d /opt/homebrew/opt/fzf/shell ]; then
source /opt/homebrew/opt/fzf/shell/key-bindings.bash source /opt/homebrew/opt/fzf/shell/key-bindings.bash