ChrisTitusTech / mybash

My Bash profile - Highly customized Starship Theme - Just imagine Powerlevel10k and Nord Theme had a baby.
375 stars 190 forks source link

Updated whatsmyip command. #21

Closed baddylan closed 1 year ago

baddylan commented 1 year ago

The whatsmyip / whatismyip command doesn't work on distros that use /sbin/ip instead of /sbin/ifconfig. I took a look at it since it also wasn't showing the external IP address and took some time to update it so that it works again.

You may want to change wlan0 back to eth0, as I was having to do it over a wifi connection at the time. I hope this is useful!