Skip to content

Commit

Permalink
[FIX] '~' escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
anosatsuk124 committed Dec 6, 2023
1 parent d8b7d01 commit fc9c615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cwd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ main() {
path=$(getPaneDir)

# change '/home/user' to '~'
cwd="${path/"$HOME"/'~'}"
cwd="${path/"$HOME"/~}"

echo "$cwd"
}
Expand Down

0 comments on commit fc9c615

Please sign in to comment.