From 7ed6fbfe9f7e95a1ca1d701ccaab82039506a8d9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 11 Apr 2017 09:26:43 -0400 Subject: [PATCH] shell/tmux: remove t alias (conflicts with script) --- shell/tmux/aliases.zsh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/shell/tmux/aliases.zsh b/shell/tmux/aliases.zsh index 419ace54..6fde0258 100644 --- a/shell/tmux/aliases.zsh +++ b/shell/tmux/aliases.zsh @@ -2,7 +2,6 @@ alias ta='tmux attach' alias tl='tmux ls' if [[ $TMUX ]]; then # From inside tmux - alias t='tmux' alias tf='tmux find-window' # Detach all other clients to this session alias mine='tmux detach -a' @@ -16,14 +15,6 @@ if [[ $TMUX ]]; then # From inside tmux tmux display-message "Session #S created" } else # From outside tmux - t() { - if (( $# > 0 )); then - tmux $@ || tmux attach -t main - else - tmux new -s main - fi - } - # Start grouped session so I can be in two different windows in one session tdup() { tmux new-session -t "${1:-`tmux display-message -p '#S'`}"; } fi