diff --git a/aliases.fish b/aliases.fish index 89a3923..d580c0d 100644 --- a/aliases.fish +++ b/aliases.fish @@ -192,7 +192,7 @@ if command -v hugo >/dev/null 2>&1 end -IP=(ip a | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | cut -d/ -f1 | head -n 1) +set IP (ip a | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | cut -d/ -f1 | head -n 1) if command -v php >/dev/null 2>&1 alias phpserve="php artisan serve --host=$IP" end