start
This commit is contained in:
parent
5b8c25f199
commit
5bad1a306e
@ -54,7 +54,7 @@ brew_packages=(
|
|||||||
|
|
||||||
|
|
||||||
function shell_start_disp {
|
function shell_start_disp {
|
||||||
echo -n $(hostname)
|
echo -n "$(hostname) - "
|
||||||
if [[ -f /sbin/ifconfig ]]
|
if [[ -f /sbin/ifconfig ]]
|
||||||
then
|
then
|
||||||
ifconfig | awk '/inet / && !/inet6/ && !/127.0.0.1/ {ips = ips " " $2} END {print ips}'
|
ifconfig | awk '/inet / && !/inet6/ && !/127.0.0.1/ {ips = ips " " $2} END {print ips}'
|
||||||
|
Loading…
Reference in New Issue
Block a user