aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2022-04-08 09:38:37 -0500
committerMatt Singleton <matt@xcolour.net>2022-04-08 09:38:37 -0500
commit21117bc2ee7e9cfa48cedad2c4e3874e0ae54631 (patch)
tree951a60667a781d1a2444e38a4d261b7eb9da11ac /deploy.sh
parentf9128ac66e1b626645f9bb93b08c17a162f25918 (diff)
custom airline theme
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index f3d5e15..9387d19 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -67,14 +67,23 @@ do
done
cd ..
+autoload="$HOME/.vim/autoload"
+mkdir -p "$autoload"
# install vim-plug
if [ ! -e "$HOME/.vim/autoload/plug.vim" ]; then
- mkdir -p "$HOME/.vim/autoload"
$DLCMD "$HOME/.vim/autoload/plug.vim" \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$VIMCMD +PlugInstall +qall
fi
+# deploy custom scripts to vim autoload
+cd vim
+for f in *
+do
+ link "$(pwd)/$f" "$autoload/$f"
+done
+cd ..
+
# create local files
if [ ! -e "$HOME/.config/zsh/00-local.zsh" ]; then
cp local/local.zsh config/zsh/00-local.zsh