diff options
| author | Benjamin Linskey | 2026-05-26 23:02:52 -0400 |
|---|---|---|
| committer | Benjamin Linskey | 2026-05-26 23:02:52 -0400 |
| commit | a6d2b66651971793afc0fc24aa6cee27533f0863 (patch) | |
| tree | 20d5c78819b45f649d62eb33eb59a2e1ae9f6df6 | |
| parent | 3c3243d3465e60e29ce6bfeb78cd15addffc24ca (diff) | |
| download | dotfiles-a6d2b66651971793afc0fc24aa6cee27533f0863.tar.gz | |
Improve formatting in install.sh
| -rwxr-xr-x | install.sh | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -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 |