mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 10:42:55 +01:00
bashrc & zshrc: add linuxbrew & fix homebrew
This commit is contained in:
parent
1708de9021
commit
5171a279ab
3
bashrc
3
bashrc
@ -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
3
zshrc
@ -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 ="
|
||||
|
Loading…
Reference in New Issue
Block a user