install diff-so-fancy

This commit is contained in:
daniel
2023-03-19 12:52:31 +01:00
parent 493462c245
commit 879242002a

View File

@@ -33,6 +33,14 @@ if [ ! -d "$HOME/.fzf" ]; then
fi fi
fi fi
# diff-so-fancy && diff-highlight
pip install --user diff-highlight
if [ ! -f "$HOME/.local/bin/diff-so-fancy" ]; then
if [ ! -d "$HOME/.local/lib/diff-so-fancy" ]; then
git clone --depth 1 https://github.com/so-fancy/diff-so-fancy.git $HOME/.local/lib/diff-so-fancy
fi
ln -s $HOME/.local/lib/diff-so-fancy/diff-so-fancy $HOME/.local/bin/diff-so-fancy
fi
# vimplug # vimplug
if [ ! -d "$HOME/.vim/autoload" ]; then if [ ! -d "$HOME/.vim/autoload" ]; then