prezto is outside stevset now
This commit is contained in:
parent
47da918cc4
commit
7fcc7fb2ab
2 changed files with 32 additions and 2 deletions
30
adeps.sh
Executable file
30
adeps.sh
Executable file
|
@ -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
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
CPU_CORES=$(nproc --all)
|
CPU_CORES=$(nproc --all)
|
||||||
#Initializes Prezto
|
#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
|
#Remove old stuff
|
||||||
echo "....Creating symlinks"
|
echo "....Creating symlinks"
|
||||||
|
@ -9,7 +9,7 @@ rm -rf ~/.zshrc ~/.zsh ~/.zprofile ~/.zlogin ~/.zlogout ~/.zpreztorc ~/.zshenv
|
||||||
|
|
||||||
#Make Environment Links, per github readme
|
#Make Environment Links, per github readme
|
||||||
setopt EXTENDED_GLOB
|
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}"
|
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue