this repo has no description

zsh: using worktunk.dev in place of my wt scripts

seth.computer f243447e 2db17e01

verified
+13 -11
+11 -11
zsh/zshenv
··· 37 37 alias wtl="git worktree list" 38 38 alias wtp="git worktree prune" 39 39 40 - function wt { 41 - task=${1-"task-$(date +%s)"} 42 - base_branch=${2-$(git branch --show-current)} 43 - repo_folder=$(basename $(pwd)) 44 - 45 - task_dir=$TASKS_DIR/$task 46 - mkdir -p $task_dir 47 - 48 - git worktree add $task_dir/$repo_folder $base_branch 49 - cd $task_dir/$repo_folder 50 - } 40 + # function wt { 41 + # task=${1-"task-$(date +%s)"} 42 + # base_branch=${2-$(git branch --show-current)} 43 + # repo_folder=$(basename $(pwd)) 44 + # 45 + # task_dir=$TASKS_DIR/$task 46 + # mkdir -p $task_dir 47 + # 48 + # git worktree add $task_dir/$repo_folder $base_branch 49 + # cd $task_dir/$repo_folder 50 + # } 51 51 52 52 alias lg="lazygit" 53 53 alias ld="lazydocker"
+2
zsh/zshrc
··· 41 41 *) export PATH="$PNPM_HOME:$PATH" ;; 42 42 esac 43 43 # pnpm end 44 + 45 + if command -v wt >/dev/null 2>&1; then eval "$(command wt config shell init zsh)"; fi