Update .zshrc

Tecra-R940
Marvin Johanning 2020-03-30 11:32:42 +02:00
parent ccf5f60833
commit 3586261af4
1 changed files with 9 additions and 5 deletions

14
.zshrc
View File

@ -1,4 +1,3 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH # export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
@ -68,10 +67,7 @@ ZSH_THEME="afowler"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(git) plugins=(git zsh-autosuggestions z zsh-syntax-highlighting)
plugins=(zsh-autosuggestions)
plugins=(zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# User configuration # User configuration
@ -101,11 +97,19 @@ source $ZSH/oh-my-zsh.sh
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
# Other environment variable changes # Other environment variable changes
alias mail="mbsync -a ; neomutt"
alias email="mbsync -a ; neomutt"
alias mutt="mbsync -a ; neomutt"
alias download_mail="mbsync -a"
export RTV_BROWSER=w3m export RTV_BROWSER=w3m
export VISUAL=vim export VISUAL=vim
export EDITOR=vim export EDITOR=vim
export TERMINAL=termite export TERMINAL=termite
bindkey '^ ' autosuggest-accept
bindkey '^\n' autosuggest-execute
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH" PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
#cdn + number will move to the xth parent directory (cdn 2 = cd ../..) #cdn + number will move to the xth parent directory (cdn 2 = cd ../..)