From 8ffaf95b9df56381ed8ecdfa545e797a710d021b Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 31 Jan 2019 19:28:18 +0300 Subject: [PATCH] a better way to tell bash from zsh --- bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 30984b9..116dec1 100644 --- a/bashrc +++ b/bashrc @@ -27,9 +27,9 @@ prompt_command() (*) printf '\033]0;%s\007' "${HOSTNAME%%.*}";; esac ((UID)) && clr=8 || clr=1 - echo "[ bash-$BASH_VERSINFO | $(colorize "$clr" $USER) $HOSTNAME:$(colorize 8 "$(pwd)") ]" + echo "[ $(colorize "$clr" $USER) $HOSTNAME:$(colorize 8 "$(pwd)") ]" } -PS1='> ' +PS1='\$ ' PROMPT_COMMAND=prompt_command # }}} # {{{ aliases