From 6c257ac5e449f8514aa2021f9ff02517bc6f2ffb Mon Sep 17 00:00:00 2001 From: Dmitry Kislyuk Date: Wed, 16 Sep 2015 11:42:29 -0700 Subject: [PATCH] Adding size command --- install.sh | 2 ++ tmux.conf | 3 +++ zshrc | 5 ++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a7ac886..f235ef8 100644 --- a/install.sh +++ b/install.sh @@ -4,6 +4,8 @@ # This script creates symlinks from the home directory to any desired dotfiles in ~/dotfiles ############################ +git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm + ########## Variables dir=~/dotfiles # dotfiles directory diff --git a/tmux.conf b/tmux.conf index 35911a7..218dede 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,3 +1,6 @@ +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-resurrect' + #### COLOUR (Solarized 256) set-option -g default-terminal screen-256color #set -g default-terminal "screen-256color" diff --git a/zshrc b/zshrc index 166a938..58e099f 100644 --- a/zshrc +++ b/zshrc @@ -54,7 +54,7 @@ source $ZSH/oh-my-zsh.sh # User configuration -export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" +export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin":$PATH # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment @@ -99,11 +99,14 @@ alias ga='git commit -a --amend' alias grm='git rebase origin/master' alias gp='git pull origin master' alias gra='git reset --soft HEAD@{1}' +alias gbdate='for k in `git branch | perl -pe '\''s/^..(.*?)( ->.*)?$/\1/'\''`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\t$k; done | sort -r' alias sl='s4cmd ls' alias sg='s4cmd get' alias sp='s4cmd put' +alias size='du -sh *' + # Watcher alias watch='python ~/bin/keepwatching'