From 110a202efc28db34e2deb24d954770af9e2d37ff Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Thu, 18 Dec 2014 11:31:42 -0600 Subject: [PATCH] Fix tmux setup. --- Makefile | 3 +++ common/.profile.d/99-alias.sh | 1 - tmux/.profile.d/20-functions-tmux.sh | 2 +- tmux/.profile.d/99-alias-tmux.sh | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 07995a8..b3977f7 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,9 @@ ruby: zsh: $(STOW) $(STOWOPTS) zsh +tmux: + $(STOW) $(STOWOPTS) tmux + vim: $(STOW) $(STOWOPTS) vim diff --git a/common/.profile.d/99-alias.sh b/common/.profile.d/99-alias.sh index b4949dd..94f0e48 100644 --- a/common/.profile.d/99-alias.sh +++ b/common/.profile.d/99-alias.sh @@ -6,7 +6,6 @@ alias a=ag alias n=noglob alias l=ls alias L='ls -dal' -alias tl='tmux ls' alias cleandir="find . -type f \( -name '*~' -o -name '#*#' -o -name '.*~' -o -name '.#*#' -o -name 'core' -o -name 'dead.letter*' \) | grep -v auto-save-list | xargs -t rm" which less > /dev/null 2>&1 [ $? = 0 ] && alias T='less -f +F' || alias T='tail -f' diff --git a/tmux/.profile.d/20-functions-tmux.sh b/tmux/.profile.d/20-functions-tmux.sh index b43c3c1..81f27be 100644 --- a/tmux/.profile.d/20-functions-tmux.sh +++ b/tmux/.profile.d/20-functions-tmux.sh @@ -1,5 +1,5 @@ # tmux/.profile.d/20-functions-tmux.sh -t +t() { if [ -z "$1" ]; then echo "Supply a tmux session name to connect to/create" diff --git a/tmux/.profile.d/99-alias-tmux.sh b/tmux/.profile.d/99-alias-tmux.sh index 1b98ec8..91d024f 100644 --- a/tmux/.profile.d/99-alias-tmux.sh +++ b/tmux/.profile.d/99-alias-tmux.sh @@ -1,2 +1,2 @@ # tmux/.profile.d/99-alias-tmux.sh -alias tls='tmux ls' +alias tl='tmux ls'