@jswork/ushell-module-git 1.0.68 → 1.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.sh CHANGED
@@ -8,7 +8,7 @@ source $ROOT_PATH/modules/07-git-rebase.sh
8
8
  source $ROOT_PATH/modules/11-lazygit.sh
9
9
  source $ROOT_PATH/modules/14-gr.sh
10
10
  source $ROOT_PATH/modules/15-ignore-file.sh
11
- # source $ROOT_PATH/modules/16-wt.sh
11
+ source $ROOT_PATH/modules/16-wt.sh
12
12
 
13
13
  ## git base:
14
14
  alias gl='git pull'
package/modules/16-wt.sh CHANGED
@@ -9,9 +9,17 @@ if command -v wt >/dev/null 2>&1; then
9
9
  # Find the actual wt binary path
10
10
  WT_BIN=$(command -v wt)
11
11
 
12
- # 🚀 wtt function for true directory switching
13
- # wtt (worktree-tool) provides directory switching without conflicting with wt binary
12
+ # 🚀 wt/wtt function for true directory switching
13
+ # wt and wtt (worktree-tool) provide directory switching without conflicting with wt binary
14
+ wt() {
15
+ _wt_impl "$@"
16
+ }
17
+
14
18
  wtt() {
19
+ _wt_impl "$@"
20
+ }
21
+
22
+ _wt_impl() {
15
23
  case "$1" in
16
24
  switch|co)
17
25
  # Handle switch/co commands for true directory switching
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/ushell-module-git",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "description": "Unix like shell module for git.",
5
5
  "main": "index.sh",
6
6
  "repository": {