Sanitize tmux session names

main
Alpha Chen 9 years ago committed by Alpha Chen
parent 7c78c7020b
commit 87141e6f33
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -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