Last active
September 15, 2016 23:05
-
-
Save bugventure/541e131995bb663a08d7 to your computer and use it in GitHub Desktop.
cwd-only bash prompt with posh-git-sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/lyze/posh-git-sh | |
# posh-git-sh (symbolic link from the posh-git-sh github repo is required first) | |
source ~/git-prompt.sh | |
# PROMPT_COMMAND='__posh_git_ps1 "\u@\h:\w" "\\\$ "' | |
PROMPT_COMMAND='__posh_git_ps1 "[\w]" "\\\$ "' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment