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

7
.zshrc
View File

@ -11,9 +11,12 @@ ZSH_THEME="xiong-chiamiov"
plugins=(git zsh-autosuggestions z zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# User configuration
#User configuration
#
#Aliases
#
#Email aliases
#
alias mail="mbsync -a ; neomutt" #Automatically download new emails and open neomutt
alias email="mbsync -a ; neomutt"
alias mutt="mbsync -a ; neomutt"
@ -27,7 +30,7 @@ export TERMINAL=termite
#Keybindings for autosuggest
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 ../..)
function cdn() { for i in `seq $1`; do cd ..; done; }