mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
bashrc & zshrc: fix one of homebrew errors.
This commit is contained in:
parent
d7a52ad82f
commit
632c4e8e56
2
bashrc
2
bashrc
@ -507,7 +507,7 @@ if [ -f /usr/bin/dnf ]; then
|
||||
fi
|
||||
|
||||
# Homebrew
|
||||
alias homebrew-install="mkdir -p ~/.local;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"
|
||||
alias homebrew-install="mkdir -p ~/.local;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"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
|
2
zshrc
2
zshrc
@ -480,7 +480,7 @@ if [ -f /usr/bin/dnf ]; then
|
||||
fi
|
||||
|
||||
# Homebrew
|
||||
alias homebrew-install="mkdir -p ~/.local;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"
|
||||
alias homebrew-install="mkdir -p ~/.local;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"
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user