forget the minimal setup mode

Sun, 09 Jan 2022 14:57:39 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 09 Jan 2022 14:57:39 -0500
changeset 965
f1e5d30543ba
parent 964
72a7a0ffbce8
child 966
e1132c1cce12

forget the minimal setup mode

bin/homedir-setup file | annotate | diff | comparison | revisions
--- a/bin/homedir-setup
+++ b/bin/homedir-setup
@@ -1,11 +1,6 @@
 #!/bin/bash
 set -euo pipefail
 
-minimal=0
-
-case ${1:-} in -m) minimal=1;;
-esac
-
 if [ ! -f .zshrc ]; then
   echo "Refusing to run without a .zshrc nearby" >&2
   exit 1
@@ -29,15 +24,13 @@ clone_or_pull 'https://github.com/tarjoi
 
 zsh -i -c 'zgen update' || :
 
-if [ "$minimal" -ne 1 ]; then
-  clone_or_pull 'https://github.com/asdf-vm/asdf' .asdf
-  source .asdf/asdf.sh
+clone_or_pull 'https://github.com/asdf-vm/asdf' .asdf
+source .asdf/asdf.sh
 
-  asdf plugin add perl || :
-  asdf plugin update --all
+asdf plugin add perl || :
+asdf plugin update --all
 
-  bin/setup-man || :
-fi
+bin/setup-man || :
 
 # Get rid of older stuff
 for OLD in .plenv .rbenv .ndenv; do

mercurial