add Gopher icon to go_version segment

This commit is contained in:
Jason Hutchinson 2017-05-25 16:38:14 -05:00
commit 99c9ba9367
2 changed files with 5 additions and 1 deletions

View file

@ -759,7 +759,7 @@ prompt_go_version() {
go_path=$(go env GOPATH 2>/dev/null)
if [[ -n "$go_version" && "${PWD##$go_path}" != "$PWD" ]]; then
"$1_prompt_segment" "$0" "$2" "green" "255" "$go_version"
"$1_prompt_segment" "$0" "$2" "green" "255" "$go_version" "GO_ICON"
fi
}