1
0
Fork 0

Add default for TMUX_CONF_DIR

main
Marissa Staib 5 years ago committed by GitHub
parent ad6131fbec
commit 457611d458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .bash_tmux

@ -1,6 +1,9 @@
#!/bin/bash
# vim: set filetype=sh:
# tmux configuration files are found alongside this file
export TMUX_CONF_DIR=${TMUX_CONF_DIR:-"$( dirname "${BASH_SOURCE[0]}" )"}
function tmux_has_main() {
tmux -2 has-session -t "Main Screen"
}

Loading…
Cancel
Save