dotfiles/.config/zsh/aliases.local##class.Work
Joe Lillibridge 15e48d1c97
update
2024-10-29 18:12:34 -05:00

9 lines
390 B
Plaintext

# shellcheck disable=SC2148
# VPN aliases
CISCO_VPN_CLI="/opt/cisco/anyconnect/bin/vpn"
TGT_VPN="TGT_VPN_MAC"
[ -x $CISCO_VPN_CLI ] && alias vpn-connect="\$CISCO_VPN_CLI connect \$TGT_VPN"
[ -x $CISCO_VPN_CLI ] && alias vpn-disconnect="\$CISCO_VPN_CLI disconnect"
# Will delete this soon in favor of something better
[ -x "${HOME}/bin/auto-vpn.sh" ] && alias vpn="\${HOME}/bin/auto-vpn.sh"