Add Vivaldi and update aliases

This commit is contained in:
Gene Liverman 2023-08-22 08:17:32 -04:00
parent d064f77099
commit 835cf4d236
2 changed files with 6 additions and 3 deletions

View file

@ -49,6 +49,7 @@
# - homebrew/cask/slack # - homebrew/cask/slack
# - homebrew/cask/thunderbird # - homebrew/cask/thunderbird
# - homebrew/cask/visual-studio-code # - homebrew/cask/visual-studio-code
# - homebrew/cask/vivaldi
# - homebrew/cask/whatsapp # - homebrew/cask/whatsapp
# - homebrew/cask/zoom # - homebrew/cask/zoom
# - homebrew/cask-fonts/font-hack-nerd-font # - homebrew/cask-fonts/font-hack-nerd-font

View file

@ -131,8 +131,13 @@ alias usessh='gpgconf --kill gpg-agent'
# aliases whose command changes based on OS # aliases whose command changes based on OS
if [[ `uname` == 'Linux' ]]; then if [[ `uname` == 'Linux' ]]; then
alias uwgconnect='nmcli dev wifi connect SecureWest password'
alias uwgforget='nmcli connection delete SecureWest'
alias ykey='sudo systemctl restart pcscd && sudo pkill -9 gpg-agent && source ~/.zshrc; ssh-add -L' alias ykey='sudo systemctl restart pcscd && sudo pkill -9 gpg-agent && source ~/.zshrc; ssh-add -L'
else else
alias currentwifi='networksetup -getairportnetwork en0 |cut -d ":" -f2- | cut -d " " -f2-'
alias uwgconnect='networksetup -setairportnetwork en0 SecureWest'
alias uwgforget='networksetup -removepreferredwirelessnetwork en0 SecureWest'
alias ykey='pkill -9 gpg-agent && source ~/.zshrc; ssh-add -L' alias ykey='pkill -9 gpg-agent && source ~/.zshrc; ssh-add -L'
fi fi
@ -141,9 +146,6 @@ if [[ `uname` == 'Linux' ]]; then
alias enable-ruby-27='source ~/enable-ruby-27' alias enable-ruby-27='source ~/enable-ruby-27'
alias pbcopy='xclip -selection clipboard' alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o' alias pbpaste='xclip -selection clipboard -o'
alias uwgconnect='nmcli dev wifi connect SecureWest password'
alias uwgroute='nmcli connection modify SecureWest ipv4.route-metric 20; nmcli radio wifi off; nmcli radio wifi on'
alias uwgforget='nmcli connection delete SecureWest'
function popup() { function popup() {
echo 'checking for updates via apt...' echo 'checking for updates via apt...'