aboutsummaryrefslogtreecommitdiffstats
path: root/baseline/startup.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
committerterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
commit6e528248414e330c9e25e81596ab47b8b8a5b701 (patch)
treee1aa41a7f3198eeac187e6177ec7d4a33db229d3 /baseline/startup.sh
downloadscripts-6e528248414e330c9e25e81596ab47b8b8a5b701.tar.gz
scripts-6e528248414e330c9e25e81596ab47b8b8a5b701.zip
first commitmaster
Diffstat (limited to 'baseline/startup.sh')
-rwxr-xr-xbaseline/startup.sh46
1 files changed, 46 insertions, 0 deletions
diff --git a/baseline/startup.sh b/baseline/startup.sh
new file mode 100755
index 0000000..13a4caa
--- /dev/null
+++ b/baseline/startup.sh
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+DISTRO=$(sudo cat /etc/*-release | grep "\<NAME")
+if [ $DISTRO = *"Fedora"* ]; then
+ PCKMG="dnf install -y"
+elif [ $DISTRO = *"Cent"* ]; then
+ PCKMG="yum install -y"
+elif [ $DISTRO = *"Ubuntu"* ]; then
+ PCKMG="apt install -y"
+elif [ $DISTRO = *"Debian"* ]; then
+ PCKMG="apt install -y"
+elif [ $DISTRO = *"Alpine"* ]; then
+ PCKMG="apk add"
+fi
+PCKMG="apt install -y"
+
+#get some bare essentials
+sudo $PCKMG make cmake gcc gdb python3 vim lynx tmux zsh curl wget ksh ctags
+
+#copy dot files
+cp .tmux.conf ~/
+cp .vimrc ~/
+
+#setup hole diggin'
+if [ ! -d "$HOME/abbatoir" ]; then
+ mkdir $HOME/abbatoir
+fi
+
+#vundle
+git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
+
+#nvm
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
+
+#oh-my-zsh
+sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
+cp .zshrc ~/
+#autojump
+(cd ~; git clone https://github.com/wting/autojump)
+(cd ~/autojump; ./install.py)
+echo "#autojump" >> ~/.zshrc
+(cd ~; echo "[[ -s $(pwd)/.autojump/etc/profile.d/autojump.sh ]] && source $(pwd)/.autojump/etc/profile.d/autojump.sh" >> ~/.zshrc)
+echo "autoload -U compinit && compinit -u" >> ~/.zshrc
+
+#zsh-syntax-highlighting
+(cd ~/.oh-my-zsh/plugins; git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting)