dotfiles/.config/fish/functions/vitally.fish

10 lines
218 B
Fish
Raw Normal View History

2024-03-15 14:08:15 -04:00
function vitally
set cmd $argv[1]
2024-03-15 14:09:30 -04:00
set cmds start stop session-name init
2024-03-15 14:08:15 -04:00
if not contains $cmd $cmds
2024-03-15 14:09:30 -04:00
echo "usage: vitally <CMD>; <CMD>: start, stop, session-name, init"
2024-03-15 14:08:15 -04:00
else
eval "vitally-$cmd"
end
end