aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Linskey2026-05-26 23:02:52 -0400
committerBenjamin Linskey2026-05-26 23:02:52 -0400
commita6d2b66651971793afc0fc24aa6cee27533f0863 (patch)
tree20d5c78819b45f649d62eb33eb59a2e1ae9f6df6
parent3c3243d3465e60e29ce6bfeb78cd15addffc24ca (diff)
downloaddotfiles-a6d2b66651971793afc0fc24aa6cee27533f0863.tar.gz

Improve formatting in install.sh

-rwxr-xr-xinstall.sh20
1 files changed, 14 insertions, 6 deletions
diff --git a/install.sh b/install.sh
index 77825b5..9ed0ebe 100755
--- a/install.sh
+++ b/install.sh
@@ -18,11 +18,17 @@ clone_plugin() {
rm -f "$HOME"/.bash_profile
-find "$PWD" -maxdepth 1 -name '.*' -not -name .git -not -name .DS_Store \
- -not -name .gitignore -exec ln -sf {} "$HOME" \;
-
-if [ "$(uname)" = Linux ]; then ln -sf "$HOME"/.profile "$HOME"/.bash_profile; fi
-if [ "$(uname)" = Linux ]; then ln -sf "$HOME"/.shrc "$HOME"/.bashrc; fi
+find "$PWD" -maxdepth 1 \
+ -name '.*' \
+ -not -name .git \
+ -not -name .DS_Store \
+ -not -name .gitignore \
+ -exec ln -sf {} "$HOME" \;
+
+if [ "$(uname)" = Linux ]; then
+ ln -sf "$HOME"/.profile "$HOME"/.bash_profile;
+ ln -sf "$HOME"/.shrc "$HOME"/.bashrc;
+fi
mkdir -p "$VIM_REPOS" "$VIM_PLUGS"
clone_plugin https://git.linskey.org/ale/
@@ -30,4 +36,6 @@ clone_plugin https://git.linskey.org/ctrlp.vim/
clone_plugin https://git.linskey.org/iceberg.vim/
# Regenerate Vim help tags.
-if type vim >/dev/null 2>&1; then vim -e -s -u NONE -c 'helptags ALL' -c q; fi
+if type vim >/dev/null 2>&1; then
+ vim -e -s -u NONE -c 'helptags ALL' -c q;
+fi