Update scripts
This commit is contained in:
parent
ccf833474e
commit
3c4d06d5d7
|
@ -0,0 +1,17 @@
|
||||||
|
#/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Check vim plugins dir for unused plugins
|
||||||
|
# Note: does not perform deletion at this time, pipe output to bash.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pluginhome=$HOME/.vim/pack/git-plugins/opt
|
||||||
|
cd $pluginhome
|
||||||
|
|
||||||
|
find . -mindepth 1 -maxdepth 1 -type d -print0 | while read -d $'\0' pluginpath
|
||||||
|
do
|
||||||
|
if ! grep -q "$pluginpath" $HOME/.vimrc ; then
|
||||||
|
basename=$(basename $pluginpath)
|
||||||
|
echo "rm -rf $pluginhome/$basename"
|
||||||
|
fi
|
||||||
|
done
|
|
@ -14,6 +14,8 @@ pacman -S --needed base-devel \
|
||||||
tmux \
|
tmux \
|
||||||
ripgrep \
|
ripgrep \
|
||||||
bat \
|
bat \
|
||||||
|
docker \
|
||||||
|
docker-compose \
|
||||||
ttf-ubuntu-font-family # Ubuntu Mono font for Alacritty
|
ttf-ubuntu-font-family # Ubuntu Mono font for Alacritty
|
||||||
|
|
||||||
# https://rustup.rs/
|
# https://rustup.rs/
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#/usr/bin/env bash
|
#/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Update vim plugins in $HOME/.vim/pack/git-plugins/opt
|
# Update vim plugins in $HOME/.vim/pack/git-plugins/opt
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
pluginhome=$HOME/.vim/pack/git-plugins
|
pluginhome=$HOME/.vim/pack/git-plugins
|
||||||
|
|
Loading…
Reference in New Issue