dotfiles/.config/zsh/aliases.local##class.Work

14 lines
504 B
Plaintext
Raw Permalink Normal View History

2024-10-29 18:12:34 -05:00
# shellcheck disable=SC2148
2024-10-29 18:17:34 -05:00
# alias web='yarn dlx @web/cli' # This way doesn't work. Because life is hard.
alias web='npx @web/cli@latest'
2024-10-29 18:12:34 -05:00
# 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
2024-10-29 18:17:34 -05:00
[ -x "${HOME}/bin/auto-vpn.sh" ] && alias vpn="\${HOME}/bin/auto-vpn.sh"