From e5c323d0a05a3088be5282e7ff9d13f3aedf5775 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 1 May 2014 18:21:08 +0300 Subject: [PATCH] bashrc & zshrc: alias os-x-caching-interface for setting caching server interface. --- bashrc | 5 ++++- zshrc | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 50605922..c44f715c 100644 --- a/bashrc +++ b/bashrc @@ -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 diff --git a/zshrc b/zshrc index 9b19d84e..44cdd55a 100644 --- a/zshrc +++ b/zshrc @@ -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