Little baby install scripts
This commit is contained in:
parent
015d8f2d20
commit
4f45d3b02f
18
install-zsh.sh
Executable file
18
install-zsh.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
sudo apt install zsh
|
||||||
|
|
||||||
|
if [[ -z "$ZSH" ]]; then
|
||||||
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -r "$HOME/.zshrc" ]]; then
|
||||||
|
cp ./config/zshrc "$HOME/.zshrc"
|
||||||
|
else
|
||||||
|
echo ".zshrc exists. Refusing to overwrite"
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -r ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ]] || git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
|
[[ -r ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting ]] || git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
4
install.sh
Executable file
4
install.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
sudo apt install \
|
||||||
|
socat \
|
||||||
|
sqlite3 \
|
||||||
|
suckless-tools # wmname primarily
|
Loading…
x
Reference in New Issue
Block a user