Autostart zsh
This commit is contained in:
parent
7c47af8396
commit
97e0fe4bc1
1 changed files with 5 additions and 2 deletions
7
_zshrc
7
_zshrc
|
@ -30,8 +30,11 @@ function zle-keymap-select {
|
||||||
}
|
}
|
||||||
zle -N zle-keymap-select
|
zle -N zle-keymap-select
|
||||||
|
|
||||||
[ -f "$HOME/./config/bashrc" ] && emulate sh -c "source $HOME/./config/bashrc"
|
if [ -f "$HOME/.config/bashrc" ]; then
|
||||||
[ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc"
|
emulate sh -c "source $HOME/.config/bashrc"
|
||||||
|
else if [ -f "$HOME/.bashrc" ];
|
||||||
|
emulate sh -c "source $HOME/.bashrc"
|
||||||
|
fi
|
||||||
|
|
||||||
[ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] && source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
[ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] && source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
[ -f "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ] && source "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
[ -f "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ] && source "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||||
|
|
Loading…
Add table
Reference in a new issue