You've already forked dotfiles-public
Importing stuff from the private repo.
This commit is contained in:
11
bashhacks/tmux.bash
Normal file
11
bashhacks/tmux.bash
Normal file
@@ -0,0 +1,11 @@
|
||||
alias dtmux="direnv exec / tmux"
|
||||
|
||||
function tm {
|
||||
if [ "$1" == "" ];then
|
||||
_TM_SESSION="tmdefault"
|
||||
else
|
||||
_TM_SESSION=$1
|
||||
fi
|
||||
|
||||
dtmux attach -t $_TM_SESSION 2>/dev/null || dtmux new -s $_TM_SESSION
|
||||
}
|
||||
Reference in New Issue
Block a user