Skip to content

Commit

Permalink
📝 Change path when in human style
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogo Alexsander Cavilha committed Dec 11, 2018
1 parent f71989d commit d0b4221
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Fancy Git Changelog

### v5.2.8

- Change directory path to the current directory when in human style.

### v5.2.7

- Change status icon for simple style.
Expand Down
2 changes: 1 addition & 1 deletion prompt_styles/human-dark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fancygit_prompt_builder() {
# Prompt
local user="\u"
local host="\h"
local where="\w"
local where="\W"

PS1="${bold}${user} ${at} ${host} ${in} $where $(fg_branch_name)${bold_none}\n\$ "
}
Expand Down
2 changes: 1 addition & 1 deletion prompt_styles/human.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fancygit_prompt_builder() {
# Prompt
local user="${orange}\u${none}"
local host="${light_yellow}\h${none}"
local where="${light_green}\w${none}"
local where="${light_green}\W${none}"

PS1="${bold}${user} at ${host} in $where $(fg_branch_name)${bold_none}\n\$ "
}
Expand Down
2 changes: 1 addition & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Author: Diogo Alexsander Cavilha <[email protected]>
# Date: 11.17.2017

FANCYGIT_VERSION="5.2.7"
FANCYGIT_VERSION="5.2.8"

0 comments on commit d0b4221

Please sign in to comment.