diff --git a/bashrc b/bashrc index 20a9d183..d53ef74b 100644 --- a/bashrc +++ b/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/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" # Allow custom aliases to be put in .aliases or .bash_aliases . diff --git a/zshrc b/zshrc index 5bf84b5d..5cba7ba5 100644 --- a/zshrc +++ b/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/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" # .aliases if [ -f ~/.aliases ]; then