|
@ -83,7 +83,7 @@ meetings() { |
|
|
dotfiles() { |
|
|
dotfiles() { |
|
|
echo "Adding zsh and tmux configs" |
|
|
echo "Adding zsh and tmux configs" |
|
|
# zsh plugins |
|
|
# zsh plugins |
|
|
sudo apt install -y zsh |
|
|
|
|
|
|
|
|
sudo apt install -y zsh tmux shellcheck fzf |
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
|
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" |
|
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" |
|
|
# dotfiles |
|
|
# dotfiles |
|
@ -109,6 +109,14 @@ neovim() { |
|
|
nvim -c 'sleep 60' -c qa --headless |
|
|
nvim -c 'sleep 60' -c qa --headless |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
neovim_fonts() { |
|
|
|
|
|
mkdir -p "$HOME/.local/share/fonts/UM" |
|
|
|
|
|
cd "$HOME/.local/share/fonts/UM" || exit 1 |
|
|
|
|
|
curl -LJO https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/UbuntuMono.zip || exit 1 |
|
|
|
|
|
unzip UbuntuMono.zip || exit 1 |
|
|
|
|
|
fc-cache -rv || exit 1 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
competitiveprogramming() { |
|
|
competitiveprogramming() { |
|
|
echo "CP Compilers..." |
|
|
echo "CP Compilers..." |
|
|
sudo apt install clang clang-tools-extra |
|
|
sudo apt install clang clang-tools-extra |
|
@ -116,8 +124,23 @@ competitiveprogramming() { |
|
|
git clone https://git.junickim.me/junikimm717/linuxcp "$HOME/cp" |
|
|
git clone https://git.junickim.me/junikimm717/linuxcp "$HOME/cp" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#(dependencies && sysinfo && browsers && torbrowser && meetings && dotfiles && neovim) || exit 1 |
|
|
|
|
|
|
|
|
case "$1" in |
|
|
|
|
|
ssh|s) |
|
|
(dependencies && sysinfo && dotfiles && neovim) || exit 1 |
|
|
(dependencies && sysinfo && dotfiles && neovim) || exit 1 |
|
|
|
|
|
;; |
|
|
|
|
|
graphical|g) |
|
|
|
|
|
(dependencies && sysinfo && browsers && dotfiles && neovim && neovim_fonts && popshell) || exit 1 |
|
|
|
|
|
;; |
|
|
|
|
|
full|f) |
|
|
|
|
|
(dependencies && sysinfo && browsers && torbrowser && meetings && dotfiles && neovim && neovim_fonts && popshell) || exit 1 |
|
|
|
|
|
;; |
|
|
|
|
|
cp|c) |
|
|
|
|
|
(dependencies && sysinfo && browsers && dotfiles && neovim && neovim_fonts && competitiveprogramming && popshell) || exit 1 |
|
|
|
|
|
;; |
|
|
|
|
|
*) |
|
|
|
|
|
echo "First Argument should be one of ssh, graphical, full, or cp" |
|
|
|
|
|
;; |
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
cat <<EOF |
|
|
cat <<EOF |
|
|
Stuff to do: |
|
|
Stuff to do: |
|
|