We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bb0e5d commit 3c03b6cCopy full SHA for 3c03b6c
.shell_wsl
@@ -10,7 +10,7 @@ if [[ -n ${WSLENV+x} ]]; then
10
# Open new tabs in the same directory
11
# https://learn.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory#zsh
12
keep_current_path() {
13
- printf "\e]9;9;%s\e\\" "$(wslpath -w "$PWD")"
+ printf "\e]9;9;%s\e\\" "$(wslpath -w "${PWD}")"
14
}
15
precmd_functions+=(keep_current_path)
16
0 commit comments