Update .zshrc

Tecra-R940
Marvin Johanning 2020-03-31 16:43:17 +02:00
parent c7f2c591c9
commit 52e21f2975
1 changed files with 5 additions and 2 deletions

5
.zshrc
View File

@ -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; }