mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
added tmux module
This commit is contained in:
parent
3e3d67e6bd
commit
37f704cc19
11 changed files with 101 additions and 13 deletions
9
src/user/modules/tmux/config/shellHook.nix
Normal file
9
src/user/modules/tmux/config/shellHook.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
''
|
||||
case $- in
|
||||
*i*)
|
||||
if [ -z "$DISPLAY" ] && [ -z "$TMUX" ]; then
|
||||
exec tmux
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue