Update scripts
This commit is contained in:
parent
9823c61df9
commit
ccf833474e
|
@ -12,6 +12,8 @@ pacman -S --needed base-devel \
|
||||||
exa \
|
exa \
|
||||||
fzf \
|
fzf \
|
||||||
tmux \
|
tmux \
|
||||||
|
ripgrep \
|
||||||
|
bat \
|
||||||
ttf-ubuntu-font-family # Ubuntu Mono font for Alacritty
|
ttf-ubuntu-font-family # Ubuntu Mono font for Alacritty
|
||||||
|
|
||||||
# https://rustup.rs/
|
# https://rustup.rs/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Special case for fzf.vim plugin file:
|
# Special case for fzf.vim plugin file:
|
||||||
# Note: not currently updated automatically
|
# Note: not currently updated automatically by `updatevimplugins`
|
||||||
url="https://raw.githubusercontent.com/junegunn/fzf/master/plugin/fzf.vim"
|
url="https://raw.githubusercontent.com/junegunn/fzf/master/plugin/fzf.vim"
|
||||||
echo "Fetching $url..."
|
echo "Fetching $url..."
|
||||||
mkdir -p $HOME/.vim/plugin
|
mkdir -p $HOME/.vim/plugin
|
||||||
|
@ -18,6 +18,11 @@ mkdir -p $pluginhome
|
||||||
cd $pluginhome
|
cd $pluginhome
|
||||||
|
|
||||||
grep packadd! $HOME/.vimrc | grep -oP 'https.*$' | while read -r url ; do
|
grep packadd! $HOME/.vimrc | grep -oP 'https.*$' | while read -r url ; do
|
||||||
|
dirname=$(basename $url .git)
|
||||||
|
if [ -d "$dirname" ]; then
|
||||||
|
echo "Exists: $dirname"
|
||||||
|
else
|
||||||
echo "Cloning $url.."
|
echo "Cloning $url.."
|
||||||
git clone --quiet --depth=1 "$url"
|
git clone --quiet --depth=1 "$url"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue