diff --git a/nix/pkgs/tmux-sessionizer.nix b/nix/pkgs/tmux-sessionizer.nix index 6599b65..177c22c 100644 --- a/nix/pkgs/tmux-sessionizer.nix +++ b/nix/pkgs/tmux-sessionizer.nix @@ -23,9 +23,7 @@ pkgs.writeShellApplication { } hydrate() { - if [ -f "$2/.tmux" ]; then - tmux send-keys -t "$1" "source $2/.tmux" Enter - elif [ -f "$2/.tmux-sessionizer" ]; then + if [ -f "$2/.tmux-sessionizer" ]; then tmux send-keys -t "$1" "source $2/.tmux-sessionizer" Enter elif [ -f "$HOME/.tmux-sessionizer" ]; then tmux send-keys -t "$1" "source $HOME/.tmux-sessionizer" Enter