Skip to content

Commit

Permalink
.aliases: Alias path for Chrome (Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
teekenl committed Apr 11, 2020
1 parent 1b9145b commit c54b5a0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ alias week='date +%V'
alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update; sudo gem cleanup'

# Google Chrome
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
if [ -f '/opt/google/chrome/google-chrome' ] ; then
alias chrome='/opt/google/chrome/google-chrome'
else
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
fi

alias canary='/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary'

# IP addresses
Expand Down

0 comments on commit c54b5a0

Please sign in to comment.