feat(fish): add function to switch the working directory to a Git worktree

This commit is contained in:
Stefan Imhoff
2024-06-11 11:15:26 +02:00
parent 163df5a322
commit cb4fd7c2a1

3
fish/functions/fwt.fish Normal file
View File

@@ -0,0 +1,3 @@
function fwt --description "Jump to Git worktree directory"
cd (git worktree list | awk '{print $1}' | fzf)
end