bashrc & zshrc: add linuxbrew & fix homebrew

This commit is contained in:
Mikaela Suomalainen 2014-10-22 13:41:00 +03:00
parent 1708de9021
commit 5171a279ab
2 changed files with 4 additions and 2 deletions

3
bashrc
View File

@ -507,7 +507,8 @@ 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"
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 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"
# OS X
alias osx-server-caching-interface="serveradmin settings caching:Interface ="

3
zshrc
View File

@ -482,7 +482,8 @@ 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"
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 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"
# OS X
alias osx-server-caching-interface="serveradmin settings caching:Interface ="