From 3586261af4eb8459c8369cc35ed4e4384116183c Mon Sep 17 00:00:00 2001 From: Marvin Johanning Date: Mon, 30 Mar 2020 11:32:42 +0200 Subject: [PATCH] Update .zshrc --- .zshrc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.zshrc b/.zshrc index 426df18..bd8504d 100644 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,3 @@ -# If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH # 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/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git) -plugins=(zsh-autosuggestions) -plugins=(zsh-syntax-highlighting) - +plugins=(git zsh-autosuggestions z zsh-syntax-highlighting) source $ZSH/oh-my-zsh.sh # User configuration @@ -101,11 +97,19 @@ source $ZSH/oh-my-zsh.sh # alias ohmyzsh="mate ~/.oh-my-zsh" # 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 VISUAL=vim export EDITOR=vim export TERMINAL=termite +bindkey '^ ' autosuggest-accept +bindkey '^\n' autosuggest-execute + PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH" #cdn + number will move to the xth parent directory (cdn 2 = cd ../..)