update base16 and add aliases

This commit is contained in:
Thomas Ruoff
2016-08-02 14:59:23 +02:00
parent ea5e50eaaf
commit 8e9807732d
2 changed files with 7 additions and 4 deletions

9
zshrc
View File

@@ -52,6 +52,10 @@ alias urlw='uttr --report=lastWeek'
alias urm='uttr --report=month' alias urm='uttr --report=month'
alias urlm='uttr --report=lastMonth' alias urlm='uttr --report=lastMonth'
# colourscheme
alias dark='zsh ~/.base16-shell/scripts/base16-solarized-dark.sh'
alias light='zsh ~/.base16-shell/scripts/base16-solarized-light.sh'
# colors # colors
autoload -U colors && colors autoload -U colors && colors
alias ls='ls --color=tty' alias ls='ls --color=tty'
@@ -73,7 +77,6 @@ bindkey '^r' history-incremental-search-backward
bindkey ' ' magic-space bindkey ' ' magic-space
# Base16 Shell # Base16 Shell
BASE16_SCHEME="solarized" BASE16_SHELL=$HOME/.base16-shell/
BASE16_SHELL="$HOME/.base16-shell/base16-$BASE16_SCHEME.dark.sh" [ -n "$PS1" ] && dark
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL