Updated some things for my Debian homecoming

This commit is contained in:
Josh Sherman 2022-08-15 14:17:03 -05:00
parent ce562d7eda
commit ef02a3dfe2
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -13,12 +13,21 @@ eval `dircolors $HOME/.dircolors`
# TODO: Could set the base directory and source the zsh stuff # TODO: Could set the base directory and source the zsh stuff
if [[ `uname` == Darwin ]]; then if [[ `uname` == Darwin ]]; then
# macOS
# Run this to generate ~/.fzf.zsh: $(brew --prefix)/opt/fzf/install # Run this to generate ~/.fzf.zsh: $(brew --prefix)/opt/fzf/install
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
source /opt/homebrew/share/zsh-history-substring-search/zsh-history-substring-search.zsh source /opt/homebrew/share/zsh-history-substring-search/zsh-history-substring-search.zsh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
else elif command -v apt &> /dev/null; then
# Debian
source /usr/share/doc/fzf/examples/completion.zsh
source /usr/share/doc/fzf/examples/key-bindings.zsh
source /usr/share/zsh-history-substring-search/zsh-history-substring-search.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
elif command -v pacman &> /dev/null; then
# Arch
source /usr/share/fzf/completion.zsh source /usr/share/fzf/completion.zsh
source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/key-bindings.zsh