mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat(fish): add function to switch the working directory to a Git worktree
This commit is contained in:
3
fish/functions/fwt.fish
Normal file
3
fish/functions/fwt.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function fwt --description "Jump to Git worktree directory"
|
||||
cd (git worktree list | awk '{print $1}' | fzf)
|
||||
end
|
||||
Reference in New Issue
Block a user