mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
add elif instead of bare if for docker and ssh detection
This commit is contained in:
parent
928debab5a
commit
70d53a4be2
1 changed files with 1 additions and 3 deletions
4
.bashrc
4
.bashrc
|
@ -53,9 +53,7 @@ fi
|
|||
|
||||
if [ -f "/.dockerenv" ]; then
|
||||
export CURRENT_SHELL_LOCATION="🐳"
|
||||
fi
|
||||
|
||||
if [ ! -z $SSH_CLIENT ]; then
|
||||
elif [ ! -z $SSH_CLIENT ]; then
|
||||
export CURRENT_SHELL_LOCATION="🤖"
|
||||
else
|
||||
export CURRENT_SHELL_LOCATION="🏡"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue