Ready to install.

This commit is contained in:
tmerritt committed 2021-07-24 14:35:10 -04:00
1 parent c6387a96f2
commit 8134556e58
20 files changed
+713 -88

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# modify the prompt to contain git branch name if applicable
git_prompt_info() {
current_branch=$(git current-branch 2> /dev/null)
if [[ -n $current_branch ]]; then
echo " %{$fg_bold[green]%}$current_branch%{$reset_color%}"
fi
}
setopt promptsubst
# Allow exported PS1 variable to override default prompt.
if ! env | grep -q '^PS1='; then
PS1='${SSH_CONNECTION+"%{$fg_bold[green]%}%n@%m:"}%{$fg_bold[blue]%}%c%{$reset_color%}$(git_prompt_info) %# '
fi