Skip to content

Commit

Permalink
Added explicit PROMPT_SUBST and removed references to original repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondkloss committed Aug 1, 2021
1 parent 3f81d3d commit eafc01b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .git-bash-for-mac-zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ GREEN="%{$fg[green]%}"
YELLOW="%{$fg[yellow]%}"
CYAN="%{$fg[cyan]%}"

setopt PROMPT_SUBST
export PS1=$GREEN"$USER@%m"$YELLOW" %~"$CYAN'$(__git_ps1)'$DEFAULT$'\n'"\$ "
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

curl -o ~/.git-bash-for-mac.sh https://raw.githubusercontent.com/fabriziocucci/git-bash-for-mac/master/.git-bash-for-mac.sh
curl -o ~/.git-bash-for-mac.sh https://raw.githubusercontent.com/ondkloss/git-bash-for-mac/master/.git-bash-for-mac.sh
curl -o ~/.git-bash-for-mac-zsh.sh https://raw.githubusercontent.com/ondkloss/git-bash-for-mac/master/.git-bash-for-mac-zsh.sh
curl -o ~/.git-completion.bash https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
curl -o ~/.git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
Expand Down

0 comments on commit eafc01b

Please sign in to comment.