mv: fish functions

This commit is contained in:
djaidjai committed 2026-09-30 16:51:03 +02:00
1 parent b3f3902737
commit 758b6886bd
17 files changed
+5 -3

No files matched your search

@@ -0,0 +1,7 @@
if set -q TMUX
set -l name (tmux display -p '#{session_name}')
if test -n "$name"; and string match -qr '^[0-9]+' -- $name
set num (string match -rim 1 "[0-9]*" -- $name)
tmux rename-session "$num: cmd: $argv[1]" 2>/dev/null
end
end
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.