summaryrefslogtreecommitdiffstats
path: root/fish/functions/fs.fish
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
committerMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
commite4640e28c8449eea66392052bfab57ce0cdd27f9 (patch)
tree2be81b55bc37da60599f4e6d434e74a57694962e /fish/functions/fs.fish
first commit
Diffstat (limited to 'fish/functions/fs.fish')
-rw-r--r--fish/functions/fs.fish3
1 files changed, 3 insertions, 0 deletions
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