addet npm and php server aliasse
This commit is contained in:
parent
1b5ffcdb39
commit
19763f0a58
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue