Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zsh/macos-notvscode.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ if [[ "$TERM_PROGRAM" != "vscode" ]]; then
# Detect WiFi interface dynamically (consistent with set-tf-proxy and other functions)
_WIFI_IFACE=$(networksetup -listallhardwareports 2>/dev/null | awk '/Wi-Fi/{found=1} found && /Device:/{print $2; exit}')
# Get WiFi name once and cache it
WIFI_NAME=$(networksetup -getairportnetwork "${_WIFI_IFACE:-en0}" 2>/dev/null | cut -d " " -f 4)
WIFI_NAME=${$(networksetup -getairportnetwork "${_WIFI_IFACE:-en0}" 2>/dev/null)#Current Wi-Fi Network: }
unset _WIFI_IFACE

# Run home setup check in background
Expand Down