Update .zshrc
parent
c7f2c591c9
commit
52e21f2975
5
.zshrc
5
.zshrc
|
@ -12,8 +12,11 @@ plugins=(git zsh-autosuggestions z zsh-syntax-highlighting)
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
#User configuration
|
#User configuration
|
||||||
|
#
|
||||||
#Aliases
|
#Aliases
|
||||||
|
#
|
||||||
#Email aliases
|
#Email aliases
|
||||||
|
#
|
||||||
alias mail="mbsync -a ; neomutt" #Automatically download new emails and open neomutt
|
alias mail="mbsync -a ; neomutt" #Automatically download new emails and open neomutt
|
||||||
alias email="mbsync -a ; neomutt"
|
alias email="mbsync -a ; neomutt"
|
||||||
alias mutt="mbsync -a ; neomutt"
|
alias mutt="mbsync -a ; neomutt"
|
||||||
|
@ -27,7 +30,7 @@ export TERMINAL=termite
|
||||||
|
|
||||||
#Keybindings for autosuggest
|
#Keybindings for autosuggest
|
||||||
bindkey '^ ' autosuggest-accept
|
bindkey '^ ' autosuggest-accept
|
||||||
bindkey '^\n' autosuggest-execute
|
bindkey '^\n' autosuggest-execute #Doesn't seem work, Ctrl+<CR>
|
||||||
|
|
||||||
#cdn + number will move to the xth parent directory (cdn 2 = cd ../..)
|
#cdn + number will move to the xth parent directory (cdn 2 = cd ../..)
|
||||||
function cdn() { for i in `seq $1`; do cd ..; done; }
|
function cdn() { for i in `seq $1`; do cd ..; done; }
|
||||||
|
|
Loading…
Reference in New Issue