Compare commits
2 Commits
8e04758760
...
0adcd44d22
Author | SHA1 | Date | |
---|---|---|---|
0adcd44d22 | |||
128cc3c57a |
27
zshrc
27
zshrc
@ -9,15 +9,27 @@ source-plugin() {
|
|||||||
echo "zsh plugin not found: $1"
|
echo "zsh plugin not found: $1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
source-plugin zsh-autosuggestions
|
|
||||||
source-plugin zsh-history-substring-search
|
|
||||||
source-plugin zsh-syntax-highlighting
|
|
||||||
source-plugin autoenv
|
|
||||||
source-plugin build
|
|
||||||
|
|
||||||
|
# Fish like automatic suggestions from command history
|
||||||
|
source-plugin zsh-autosuggestions
|
||||||
# Disable non end-of-line autosuggest accept widgets
|
# Disable non end-of-line autosuggest accept widgets
|
||||||
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line vi-end-of-line)
|
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line vi-end-of-line)
|
||||||
|
|
||||||
|
# Search history with a command substring
|
||||||
|
source-plugin zsh-history-substring-search
|
||||||
|
|
||||||
|
# Command syntax highlighting
|
||||||
|
source-plugin zsh-syntax-highlighting
|
||||||
|
|
||||||
|
# Automatically source .enter and .exit scripts on cd
|
||||||
|
source-plugin autoenv
|
||||||
|
|
||||||
|
# Build system helper commands
|
||||||
|
source-plugin build
|
||||||
|
|
||||||
|
# Project sandboxing commands
|
||||||
|
source-plugin sandbox
|
||||||
|
|
||||||
# Remove duplicates from history
|
# Remove duplicates from history
|
||||||
setopt hist_ignore_all_dups
|
setopt hist_ignore_all_dups
|
||||||
setopt hist_reduce_blanks
|
setopt hist_reduce_blanks
|
||||||
@ -178,8 +190,3 @@ case `uname` in
|
|||||||
alias debug='lldb --'
|
alias debug='lldb --'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$TMUX" != "" ]; then
|
|
||||||
alias sp='tmux split-window'
|
|
||||||
alias vs='tmux split-window -h'
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user