Add mac aliases file
This commit is contained in:
parent
100a4c3e7e
commit
b856876062
2 changed files with 5 additions and 0 deletions
1
.aliases-mac
Normal file
1
.aliases-mac
Normal file
|
@ -0,0 +1 @@
|
||||||
|
alias google-chrome="open -a Google\ Chrome"
|
4
.zshrc
4
.zshrc
|
@ -48,6 +48,10 @@ source $ZSH/oh-my-zsh.sh
|
||||||
source $HOME/.aliases
|
source $HOME/.aliases
|
||||||
source $HOME/.functions
|
source $HOME/.functions
|
||||||
|
|
||||||
|
if [[ "$OSTYPE" == darwin* ]]; then
|
||||||
|
source $HOME/.aliases-mac
|
||||||
|
fi
|
||||||
|
|
||||||
# Bind insert_sudo function
|
# Bind insert_sudo function
|
||||||
zle -N insert-sudo
|
zle -N insert-sudo
|
||||||
bindkey "^z" insert-sudo
|
bindkey "^z" insert-sudo
|
||||||
|
|
Loading…
Reference in a new issue