diff --git a/.bin/whoamip b/.bin/whoamip index fb5f4be..45d6586 100755 --- a/.bin/whoamip +++ b/.bin/whoamip @@ -1,3 +1,2 @@ #!/usr/bin/env bash - -ip addr show wlan0 | awk '/inet / {gsub(/\/.*/,"",$2); print $2}' +ip addr show $@ | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'