bashrc & zshrc: more brews & updated

* homebrew/linuxbrew-install for normal user
* homebrew/linuxbrew-install-root for root/global install

I am not sure if I recommend the lower thugh...
This commit is contained in:
Mikaela Suomalainen 2014-10-23 00:07:52 +03:00
parent 1fe9a611f3
commit 663830d063
2 changed files with 6 additions and 2 deletions

4
bashrc
View File

@ -507,8 +507,10 @@ if [ -f /usr/bin/dnf ]; then
fi
# Homebrew
alias homebrew-install="cd /usr;git clone https://github.com/Homebrew/homebrew.git;mkdir -p local;rsync -aP homebrew/* local;rsync -aP homebrew/.* local/;chmod -R 755 local;chown -R root:wheel local;rm -rf homebrew"
alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
alias homebrew-install-root="cd /usr;git clone https://github.com/Homebrew/homebrew.git;mkdir -p local;rsync -aP homebrew/* local;rsync -aP homebrew/.* local/;chmod -R 755 local;chown -R root:wheel local;rm -rf homebrew"
alias linuxbrew-install="cd ~;git clone https://github.com/Homebrew/linuxbrew.git;mkdir -p .local;rsync -aP linuxbrew/* .local;rsync -aP linuxbrew/.* .local;rm -rf linuxbrew"
alias linuxbrew-install-root="cd /usr;git clone https://github.com/Homebrew/linuxbrew.git;mkdir -p local;rsync -aP linuxbrew/* local;rsync -aP linuxbrew/.* local/;chmod -R 755 local;chown -R root:wheel local;rm -rf linuxbrew"
# OS X
alias osx-server-caching-interface="serveradmin settings caching:Interface ="

4
zshrc
View File

@ -482,8 +482,10 @@ if [ -f /usr/bin/dnf ]; then
fi
# Homebrew
alias homebrew-install="cd /usr;git clone https://github.com/Homebrew/homebrew.git;mkdir -p local;rsync -aP homebrew/* local;rsync -aP homebrew/.* local/;chmod -R 755 local;chown -R root:wheel local;rm -rf homebrew"
alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
alias homebrew-install-root="cd /usr;git clone https://github.com/Homebrew/homebrew.git;mkdir -p local;rsync -aP homebrew/* local;rsync -aP homebrew/.* local/;chmod -R 755 local;chown -R root:wheel local;rm -rf homebrew"
alias linuxbrew-install="cd ~;git clone https://github.com/Homebrew/linuxbrew.git;mkdir -p .local;rsync -aP linuxbrew/* .local;rsync -aP linuxbrew/.* .local;rm -rf linuxbrew"
alias linuxbrew-install-root="cd /usr;git clone https://github.com/Homebrew/linuxbrew.git;mkdir -p local;rsync -aP linuxbrew/* local;rsync -aP linuxbrew/.* local/;chmod -R 755 local;chown -R root:wheel local;rm -rf linuxbrew"
# OS X
alias osx-server-caching-interface="serveradmin settings caching:Interface ="