1
0

Importing stuff from the private repo.

This commit is contained in:
2020-10-28 08:34:01 +01:00
parent 2585416327
commit a0e67a0bce
5 changed files with 113 additions and 0 deletions

11
bashhacks/tmux.bash Normal file
View 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
}