misc tweaks:
- fixed spacevim - added enable server connection
This commit is contained in:
parent
c5ea9fc8f7
commit
350c03d99f
1 changed files with 5 additions and 4 deletions
9
init.sh
9
init.sh
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
|
||||||
#install pre-req.
|
#install pre-req.
|
||||||
echo -n "Which Linux flavor will we be installing programs for? (u/o/a/f/d)"; read -r answer
|
echo -n "Which Linux flavor will we be installing programs for? (u/o/a/f/d)"; read -r answer
|
||||||
case $answer in
|
case $answer in
|
||||||
|
@ -37,11 +36,13 @@ case $answer in
|
||||||
z | zsh)
|
z | zsh)
|
||||||
echo "Initializing Prezto"
|
echo "Initializing Prezto"
|
||||||
zsh prezto.zsh
|
zsh prezto.zsh
|
||||||
|
echo "Enter user password to change shell"
|
||||||
chsh -s /usr/bin/zsh
|
chsh -s /usr/bin/zsh
|
||||||
;;
|
;;
|
||||||
f | fish)
|
f | fish)
|
||||||
echo "Installing Oh-My-Fish"
|
echo "Installing Oh-My-Fish"
|
||||||
bash fish.sh
|
bash fish.sh
|
||||||
|
echo "Enter user password to change shell"
|
||||||
chsh -s /usr/bin/fish
|
chsh -s /usr/bin/fish
|
||||||
;;
|
;;
|
||||||
b | bash)
|
b | bash)
|
||||||
|
@ -62,7 +63,6 @@ esac
|
||||||
echo "set up Tmux Plugins"
|
echo "set up Tmux Plugins"
|
||||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||||
|
|
||||||
|
|
||||||
#Configure git user
|
#Configure git user
|
||||||
git_user () {
|
git_user () {
|
||||||
echo -n "Would you like to configure your git name and email? (y/n) => "; read -r answer
|
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
|
#install spacevim & neovim
|
||||||
echo "Installing Spacevim & Friends!"
|
echo "Installing Spacevim & Friends!"
|
||||||
bash spacevim.sh
|
bash ./spacevim.sh
|
||||||
|
|
||||||
#install fonts for terminal
|
#install fonts for terminal
|
||||||
fonts () {
|
fonts () {
|
||||||
|
@ -93,8 +93,8 @@ flat_timer () {
|
||||||
systemctl --user enable --now flatpak-update.timer
|
systemctl --user enable --now flatpak-update.timer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Functions
|
||||||
git_user
|
git_user
|
||||||
spacevim
|
|
||||||
fonts
|
fonts
|
||||||
if command -v flatpak &> /dev/null; then
|
if command -v flatpak &> /dev/null; then
|
||||||
flat_timer
|
flat_timer
|
||||||
|
@ -106,6 +106,7 @@ if [[ $answer == [Yy] ]]; then
|
||||||
sudo apt install nfs-common
|
sudo apt install nfs-common
|
||||||
sudo cp scripts/systemd/home-stev-server.mount /etc/systemd/system
|
sudo cp scripts/systemd/home-stev-server.mount /etc/systemd/system
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
sudo systemctl enable --now home-stev-server.mount
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "*******************************"
|
echo "*******************************"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue