mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 14:05:29 +00:00
fix diff so fancy install
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
if [ ! -f "$HOME/.local/bin/diff-so-fancy" ]; then
|
if [ ! -f "$HOME/.local/bin/diff-so-fancy" ]; then
|
||||||
echo "Installing diff-so-fance into .local/bin"
|
echo "Installing diff-so-fance into .local/bin"
|
||||||
if [ ! -d "$HOME/.local/lib/diff-so-fancy" ]; then
|
if [ ! -d "$HOME/.local/lib/diff-so-fancy" ]; then
|
||||||
|
mkdir -p $HOME/.local/lib
|
||||||
git clone --depth 1 https://github.com/so-fancy/diff-so-fancy.git $HOME/.local/lib/diff-so-fancy
|
git clone --depth 1 https://github.com/so-fancy/diff-so-fancy.git $HOME/.local/lib/diff-so-fancy
|
||||||
fi
|
fi
|
||||||
ln -s $HOME/.local/lib/diff-so-fancy/diff-so-fancy $HOME/.local/bin/diff-so-fancy
|
ln -s $HOME/.local/lib/diff-so-fancy/diff-so-fancy $HOME/.local/bin/diff-so-fancy
|
||||||
|
|||||||
Reference in New Issue
Block a user