Skip to content

Commit

Permalink
Merge pull request #18 from gmcgibbon/fix_theme_ssh
Browse files Browse the repository at this point in the history
Fix SSH in sparkle theme
  • Loading branch information
gmcgibbon authored Nov 27, 2024
2 parents b3caade + 140877c commit afc85eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zsh/themes/sparkle.zsh-theme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function ssh_connection() {
if [[ -n $SSH_CONNECTION ]]; then
return "${BOLD_MAGENTA}(ssh) "
echo "${BOLD_MAGENTA}(ssh) "
fi
}

Expand All @@ -12,7 +12,7 @@ BOLD_RED="%{%B%F{red}%}"
CLEAR="%{%f%k%b%}"


PROMPT='%{$(ssh_connection)%}'
PROMPT='$(ssh_connection)'
PROMPT+=""
PROMPT+="${BOLD_YELLOW}%c${CLEAR} "
PROMPT+='$(git_prompt_info)'
Expand Down

0 comments on commit afc85eb

Please sign in to comment.