1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 23:04:22 +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 # Hostname
set -g CURRENT_IP (who am i | awk '{print $5}') if test -z "$SSH_CLIENT"
if test -z "$CURRENT_IP"
set_color magenta
else if test "$CURRENT_IP" "=" "(:0)"
set_color green set_color green
else else
set_color cyan set_color cyan