Fix tat session name cleaning

Alpha Chen 8 years ago committed by Alpha Chen
parent acf7f295c1
commit cf9b50a2e7

@ -22,7 +22,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 | sed s/\\\./_/g`' alias tat='tmux new-session -As `basename $PWD | ruby -e "puts ARGF.read.strip.downcase.gsub(/[^\w]+/, ?-)"`'
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