From 43f915c8943db8e47b8363eebf61beb69dbed6a8 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 25 Apr 2016 14:52:23 -0400 Subject: [PATCH] Sanitize tmux session names --- runcoms/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runcoms/zshrc b/runcoms/zshrc index 853f8c7..0241a81 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -21,7 +21,7 @@ bindkey "\ep" history-beginning-search-backward bindkey "\en" history-beginning-search-forward 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' function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; }