From ecc0a7b5bd9c69e0eb77c8ff83da831283ee9514 Mon Sep 17 00:00:00 2001 From: juancwu <46619361+juancwu@users.noreply.github.com> Date: Sun, 1 Jan 2023 21:53:44 -0500 Subject: [PATCH] update: new alias for tmux operations --- .config/fish/config.fish | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index bb2e2ef..1810b52 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -43,6 +43,12 @@ if type -q git alias ga "git add" end +if type -q tmux + alias tma "tmux attach" + alias tmls "tmux list-session" + alias tmks "tmux kill-session" +end + # allow local config overwrite set LOCAL_CONFIG (dirname (status --current-file))/config-local.fish if test -f $LOCAL_CONFIG