feat(tmux): improve ta, ts and bindings

This commit is contained in:
Moritz Böhme 2023-10-08 13:33:57 +02:00
parent 28961fe114
commit 1eb008e41e
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 9 additions and 11 deletions

View file

@ -19,7 +19,7 @@ let
tmux-sessionizer = pkgs.writeFishApplication {
name = "ts";
runtimeInputs = with pkgs; [ tmux findutils coreutils procps fd tmux-switch ];
runtimeInputs = with pkgs; [ tmux findutils coreutils procps fd tmux-switch gawk ];
text = readFile ./tmux-sessionizer/script.fish;
completions = readFile ./tmux-sessionizer/completions.fish;
};
@ -97,7 +97,7 @@ in
if ! fish_is_root_user && test "$TERM_PROGRAM" != 'vscode' && ${insideVariableMissing}
if test -z $tmux_autostarted
set -x tmux_autostarted true
ts
tmux new -A -s home
end
end
'';