1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-10-16 14:27:34 +00:00

Support systemd-homed

This commit is contained in:
Steffo 2021-09-13 00:40:51 +02:00
parent 7208fd2409
commit 825a887d08

View file

@ -36,10 +36,7 @@ function fish_prompt
# Hostname
set -g CURRENT_IP (who am i | awk '{print $5}')
if test -z "$CURRENT_IP"
set_color magenta
else if test "$CURRENT_IP" "=" "(:0)"
if test -z "$SSH_CLIENT"
set_color green
else
set_color cyan