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
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
# make brew accessible
|
# make brew accessible
|
||||||
if [ -d "$HOME/linuxbrew/.linuxbrew" ] ; then
|
# OLD VERSION:
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
# if [ -d "$HOME/linuxbrew/.linuxbrew" ] ; then
|
||||||
fi
|
# 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
|
# set PATH so it includes user's private ~/.local/bin if it exists
|
||||||
# lvim is installed to this directory (at least on ubuntu)
|
# lvim is installed to this directory (at least on ubuntu)
|
||||||
|
|
|
||||||
6
makefile
6
makefile
|
|
@ -21,6 +21,12 @@ setup_git:
|
||||||
git config --global pull.rebase false
|
git config --global pull.rebase false
|
||||||
|
|
||||||
setup_fzf:
|
setup_fzf:
|
||||||
|
# brew install fzf
|
||||||
|
# NEXT LINES ALSO IN .ZSHRC
|
||||||
|
# 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
|
||||||
echo "make sure /home/linuxbrew/.linuxbrew/opt/fzf/bin exists"
|
echo "make sure /home/linuxbrew/.linuxbrew/opt/fzf/bin exists"
|
||||||
echo "make sure /home/linuxbrew/.linuxbrew/opt/fzf/shell/completion.zsh exists"
|
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"
|
echo "make sure /home/linuxbrew/.linuxbrew/opt/fzf/shell/key-bindings.zsh exists"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue