Updated some things for my Debian homecoming
This commit is contained in:
parent
ce562d7eda
commit
ef02a3dfe2
1 changed files with 10 additions and 1 deletions
11
zsh/.zshrc
11
zsh/.zshrc
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue