shellcheck fix
This commit is contained in:
parent
b30bbf5927
commit
c69407345c
1 changed files with 1 additions and 7 deletions
8
neofetch
8
neofetch
|
@ -3292,15 +3292,9 @@ get_network() {
|
|||
if [[ $ActiveNetworkName == "Wi-Fi" ]]; then
|
||||
LinkSpeed="$(/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '/maxRate/{print}' | awk '{print $2}' )Mbps"
|
||||
else
|
||||
<<<<<<< HEAD
|
||||
LinkSpeed="$(ifconfig \"$ActiveNetwork\" | awk '/media/{print}' | sed -E "s/.*\((.*)\).*/\1/")"
|
||||
fi
|
||||
network="\"$ActiveNetwork\": \"$ActiveNetworkName\"@\"$LinkSpeed\""
|
||||
=======
|
||||
LinkSpeed="$(ifconfig $ActiveNetwork | awk '/media/{print}' | sed -E "s/.*\((.*)\).*/\1/")"
|
||||
LinkSpeed="$(ifconfig "$ActiveNetwork" | awk '/media/{print}' | sed -E "s/.*\((.*)\).*/\1/")"
|
||||
fi
|
||||
network="$ActiveNetwork: $ActiveNetworkName@$LinkSpeed"
|
||||
>>>>>>> parent of 3938f431 (shellcheck: double quote)
|
||||
;;
|
||||
esac
|
||||
while IFS=' ' read -r n i; do
|
||||
|
|
Loading…
Reference in a new issue