vimwiki: dth @ DK023900WSL
This commit is contained in:
parent
c6d857984a
commit
e7a858f097
2 changed files with 15 additions and 3 deletions
12
.zshrc
12
.zshrc
|
|
@ -113,9 +113,15 @@ bindkey -v
|
|||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
# make brew accessible
|
||||
if [ -d "$HOME/linuxbrew/.linuxbrew" ] ; then
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
fi
|
||||
# OLD VERSION:
|
||||
# if [ -d "$HOME/linuxbrew/.linuxbrew" ] ; then
|
||||
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
# fi
|
||||
# NEW VERSION:
|
||||
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
|
||||
|
||||
# set PATH so it includes user's private ~/.local/bin if it exists
|
||||
# lvim is installed to this directory (at least on ubuntu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue