diff --git a/.vim/bundle/syntastic b/.vim/bundle/syntastic index 710a854..e1217a8 160000 --- a/.vim/bundle/syntastic +++ b/.vim/bundle/syntastic @@ -1 +1 @@ -Subproject commit 710a854f6a6832004b225c25d5c076bb537fd589 +Subproject commit e1217a888a6d1f3266ca610b04d1752cea837438 diff --git a/tmux.conf b/tmux.conf index 2e1f7aa..b82883a 100644 --- a/tmux.conf +++ b/tmux.conf @@ -9,21 +9,13 @@ set -g status-right '#[default]#[fg=green]#H #[fg=white]%m/%d %I:%M%p #[default] set-option -g default-command /bin/zsh set-option -g default-shell /bin/zsh -set-window-option -g mode-mouse on -set-option -g mouse-select-pane on -set-option -g mouse-select-window on +set-window-option -g mouse on set -g terminal-overrides 'xterm*:smcup@:rmcup@' bind m \ - set -g mode-mouse on \;\ - set -g mouse-resize-pane on \;\ - set -g mouse-select-pane on \;\ - set -g mouse-select-window on \;\ + set -g mouse on \;\ display 'Mouse: ON' bind M \ - set -g mode-mouse off \;\ - set -g mouse-resize-pane off \;\ - set -g mouse-select-pane off \;\ - set -g mouse-select-window off \;\ + set -g mouse off \;\ display 'Mouse: OFF' diff --git a/zshrc b/zshrc index 6254456..a69324b 100644 --- a/zshrc +++ b/zshrc @@ -224,7 +224,7 @@ save_dotfiles(){ makepass(){ LEN=20 - if [ $# > 0 ] ; then + if [ $# > 1 ] ; then LEN=$1 fi cat /dev/urandom | base64 | head -c $LEN