Skip to content

Commit

Permalink
Fix prompt error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
crramirez committed Nov 18, 2023
1 parent 9ef3dd2 commit 4c6f323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux_files/bash-prompt-wsl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Add Windows Terminal Shell Integration codes to the prompt.

function main() {
export PS1='\[\033]133;D;$?\]\[\033\\\033]133;A\033\\\]\[\033]9;9;"$(wslpath -w "${PWD}")"\033\\\]'"${PS1}"'\[\033]133;B\033\\\]'
export PS1='\[\033]133;D;$?\]\[\033\\\033]133;A\033\\\]'"${PS1}"'\[\033]9;9;"$(wslpath -w "${PWD}")"\033\\\]\[\033]133;B\033\\\]'
}

main "$@"

0 comments on commit 4c6f323

Please sign in to comment.