bashrc & zshrc: alias os-x-caching-interface for setting caching server interface.

This commit is contained in:
Mikaela Suomalainen 2014-05-01 18:21:08 +03:00
parent 9f270b438d
commit e5c323d0a0
2 changed files with 7 additions and 1 deletions

5
bashrc
View File

@ -5,7 +5,7 @@ UNAME=`uname`
# Aliases RJ706I
# Functions ZGC5QQ
# For Mac OS X + SSH sessions. bashrc must be sourced by hand at least once.
# For OS X + SSH sessions. bashrc must be sourced by hand at least once.
echo "if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi" > ~/.bash_profile
@ -523,6 +523,9 @@ fi
# Homebrew
alias homebrew-install="mkdir -p ~/.local/bin;cd ~/.local;git clone https://github.com/Homebrew/homebrew.git;mkdir -p $HOME/.local/share/man/man1;ln -sf $HOME/.local/homebrew/bin/brew $HOME/.local/bin/brew;ln -sf $HOME/.local/homebrew/share/man/man1/brew.1 $HOME/.local/share/man/man1/brew.1;cd"
# OS X Server
alias os-x-caching-interface="serveradmin settings caching:Interface ="
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

3
zshrc
View File

@ -497,6 +497,9 @@ fi
# Homebrew
alias homebrew-install="mkdir -p ~/.local/bin;cd ~/.local;git clone https://github.com/Homebrew/homebrew.git;mkdir -p $HOME/.local/share/man/man1;ln -sf $HOME/.local/homebrew/bin/brew $HOME/.local/bin/brew;ln -sf $HOME/.local/homebrew/share/man/man1/brew.1 $HOME/.local/share/man/man1/brew.1;cd"
# OS X Server
alias os-x-caching-interface="serveradmin settings caching:Interface ="
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases