From 350c03d99ff799688623ccb45d419d3e026deb98 Mon Sep 17 00:00:00 2001 From: Stev Date: Tue, 7 May 2024 15:49:53 -0400 Subject: [PATCH] misc tweaks: - fixed spacevim - added enable server connection --- init.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/init.sh b/init.sh index 7ff5bcd..6dd1c11 100755 --- a/init.sh +++ b/init.sh @@ -1,5 +1,4 @@ #!/bin/bash -set -euo pipefail #install pre-req. echo -n "Which Linux flavor will we be installing programs for? (u/o/a/f/d)"; read -r answer case $answer in @@ -37,11 +36,13 @@ case $answer in z | zsh) echo "Initializing Prezto" zsh prezto.zsh + echo "Enter user password to change shell" chsh -s /usr/bin/zsh ;; f | fish) echo "Installing Oh-My-Fish" bash fish.sh + echo "Enter user password to change shell" chsh -s /usr/bin/fish ;; b | bash) @@ -62,7 +63,6 @@ esac echo "set up Tmux Plugins" git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm - #Configure git user git_user () { echo -n "Would you like to configure your git name and email? (y/n) => "; read -r answer @@ -76,7 +76,7 @@ git_user () { #install spacevim & neovim echo "Installing Spacevim & Friends!" -bash spacevim.sh +bash ./spacevim.sh #install fonts for terminal fonts () { @@ -93,8 +93,8 @@ flat_timer () { systemctl --user enable --now flatpak-update.timer } +# Functions git_user -spacevim fonts if command -v flatpak &> /dev/null; then flat_timer @@ -106,6 +106,7 @@ if [[ $answer == [Yy] ]]; then sudo apt install nfs-common sudo cp scripts/systemd/home-stev-server.mount /etc/systemd/system sudo systemctl daemon-reload + sudo systemctl enable --now home-stev-server.mount fi echo "*******************************"