mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-07-23 10:29:56 +00:00
try to add some functions from oh-my-zsh
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
# auto suggestion
|
||||
if [[ -a "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ]]; then
|
||||
source "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
else
|
||||
source "$HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
fi
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=black'
|
||||
|
||||
|
||||
# highlighting
|
||||
if [[ -a "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]]; then
|
||||
source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
|
Reference in New Issue
Block a user