Skip to content

Commit 7a0d230

Browse files
thiagowfxclaude
andcommitted
fix(wt): use explicit "stash:N" indicator instead of "$N"
The dollar sign prefix was easily confused with a shell variable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a1990bf commit 7a0d230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wt/wt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1335,7 +1335,7 @@ get_worktree_status() {
13351335
[[ "$renamed" -gt 0 ]] && indicators+="»$renamed"
13361336
[[ "$deleted" -gt 0 ]] && indicators+="$deleted"
13371337
[[ "$untracked" -gt 0 ]] && indicators+="?$untracked"
1338-
[[ "$stashed" -gt 0 ]] && indicators+="\$$stashed"
1338+
[[ "$stashed" -gt 0 ]] && indicators+="stash:$stashed"
13391339

13401340
if [[ -n "$indicators" ]]; then
13411341
echo "$indicators"

0 commit comments

Comments
 (0)