finally fixed tmux function - Commit 8cbde875 - server-dots
-
finally fixed tmux function
-
| skipped 3 lines |
4 | 4 | | tmux() { |
5 | 5 | | tconf="${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf" |
6 | 6 | | if [ -e "$tconf" ]; then |
7 | | - | tmux -f "$tconf" -2 "$@" |
| 7 | + | $(command -v tmux) -f "$tconf" -2 "$@" |
8 | 8 | | else |
9 | | - | tmux -2 "$@" |
| 9 | + | $(command -v tmux) -2 "$@" |
10 | 10 | | fi |
11 | 11 | | } |
12 | 12 | | alias ta='tmux attach -t' |
| skipped 121 lines |
Page is in error, reload to recover