From 9fff448654308b1e1b3d1129c0255544f56c25cc Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 5 Oct 2022 16:33:10 +0100 Subject: initial --- fish/functions/fs.fish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 fish/functions/fs.fish (limited to 'fish/functions/fs.fish') diff --git a/fish/functions/fs.fish b/fish/functions/fs.fish new file mode 100644 index 0000000..79cb275 --- /dev/null +++ b/fish/functions/fs.fish @@ -0,0 +1,3 @@ +function fs --description 'Switch tmux session' + tmux list-sessions -F "#{session_name}" | fzf | xargs tmux switch-client -t +end -- cgit v1.2.3