diff --git a/adeps.sh b/adeps.sh new file mode 100755 index 0000000..d75a1a5 --- /dev/null +++ b/adeps.sh @@ -0,0 +1,30 @@ +#!/bin/bash +#These are the programs I expect to find on any install +# installing base dependencies +sudo pacman -Sy --needed \ + git \ + stow \ + etckeeper \ + tmux \ + zsh \ + vim \ + powerline\ + htop \ + mc \ + curl \ + nnn \ + ack \ + fzf \ + ripgrep \ + grc \ + fd \ + ncdu \ + ripgrep \ + exa \ + bat \ + emacs + +read -n1 -p $'Does this system need a ssh server?\n' REPLY + if [[ $REPLY == [Yy] ]]; then + sudo pacman -Sy --needed openssh-server fail2ban + fi diff --git a/prezto.zsh b/prezto.zsh index 96018b0..a36e16d 100755 --- a/prezto.zsh +++ b/prezto.zsh @@ -1,7 +1,7 @@ #!/bin/zsh CPU_CORES=$(nproc --all) #Initializes Prezto -git clone --recursive -j $CPU_CORES https://github.com/steveokard/prezto.git "$HOME/stevset/prezto/.zprezto" +git clone --recursive -j $CPU_CORES https://github.com/steveokard/prezto.git "$HOME/.zprezto" #Remove old stuff echo "....Creating symlinks" @@ -9,7 +9,7 @@ rm -rf ~/.zshrc ~/.zsh ~/.zprofile ~/.zlogin ~/.zlogout ~/.zpreztorc ~/.zshenv #Make Environment Links, per github readme setopt EXTENDED_GLOB -for rcfile in "${ZDOTDIR:-$HOME}"/stevset/prezto/.zprezto/runcoms/^README.md(.N); do +for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done