Sanitize tmux session names

Alpha Chen 9 years ago committed by Alpha Chen
parent 9b4585ccd6
commit 276505fe65

@ -21,7 +21,7 @@ bindkey "\ep" history-beginning-search-backward
bindkey "\en" history-beginning-search-forward bindkey "\en" history-beginning-search-forward
alias be='bundle exec' alias be='bundle exec'
alias tat='tmux new-session -As `basename $PWD`' alias tat='tmux new-session -As `basename $PWD | sed s/\\\./_/`'
alias plz='sudo' alias plz='sudo'
function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; } function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; }

Loading…
Cancel
Save