git:alias: Add checkout-worktree
Reuse the autoloadable function as git alias. This way `git-checkout-worktree` as well as `git checkout-worktree` are possible.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
detachedHead = off
|
||||
[alias]
|
||||
branches = track
|
||||
checkout-worktree = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-checkout-worktree\""
|
||||
filter-repo = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/git/git-filter-repo/git-filter-repo\""
|
||||
fixes = log -1 --pretty=fixes
|
||||
root = rev-parse --show-toplevel
|
||||
|
||||
Reference in New Issue
Block a user