Added tmux default

This commit is contained in:
Fergal Moran
2017-04-24 22:46:15 +01:00
parent d1c79a577a
commit 262fb7cc18
2 changed files with 5 additions and 0 deletions

View File

@@ -64,3 +64,4 @@ if type "$docker" > /dev/null; then
alias docker-rm-untagged='docker rmi -f $(docker images | grep "^<none>" | awk "{print $3}")' alias docker-rm-untagged='docker rmi -f $(docker images | grep "^<none>" | awk "{print $3}")'
fi fi
alias tmux='tmux attach || tmux'

4
zshrc
View File

@@ -83,3 +83,7 @@ source ~/.bash_aliases
export PATH=$PATH:/home/fergalm/dotfiles/bin export PATH=$PATH:/home/fergalm/dotfiles/bin
source '/home/fergalm/lib/azure-cli/az.completion' source '/home/fergalm/lib/azure-cli/az.completion'
# If not running interactively, do not do anything
#[[ $- != *i* ]] && return
#[[ -z "$TMUX" ]] && exec tmux