diff --git a/makefile b/makefile index ed483b9..7d3fc17 100644 --- a/makefile +++ b/makefile @@ -22,15 +22,15 @@ setup_git: setup_brew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)" - test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - test -r ~/.bash_profile && echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.bash_profile + test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)" + test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + test -r ~/.bash_profile && echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.bash_profile echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.profile setup_fzf: # brew install fzf - # NEXT LINES ALSO IN .ZSHRC - echo "make sure /home/linuxbrew/.linuxbrew/opt/fzf/bin exists" + $(brew --prefix)/opt/fzf/install + test -d /home/linuxbrew/.linuxbrew/opt/fzf/bin echo "make sure /home/linuxbrew/.linuxbrew/opt/fzf/shell/completion.zsh exists" echo "make sure /home/linuxbrew/.linuxbrew/opt/fzf/shell/key-bindings.zsh exists" ln -s -f ~/dotfiles/.fzf.zsh ~/.fzf.zsh