Update to add nimble config, iTerm colors, fix bugs.
This commit is contained in:
19
setup.sh
19
setup.sh
@@ -1,12 +1,13 @@
|
||||
#!env bash
|
||||
DOTFILE_DIR="$(pwd)"
|
||||
|
||||
pushd ~
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install vim tmux git fluxbox aptitude default-jdk default-jdk-doc fontconfig apt-file thefuck libxft-dev python-setuptools vlc keepassx tree unison lilypond htop synaptic dmsetup suckless-tools
|
||||
sudo apt-file update
|
||||
mkdir ~/projects ~/programs ~/temp
|
||||
git clone _git@git.jdb-labs.com:jdb/dotfile temp/dotfiles
|
||||
cd ~/temp/dotfiles
|
||||
cd "$DOTFILE_DIR"
|
||||
cp -r bin .fonts .tmux.conf .vimrc .vim .bash_aliases .gitconfig .screenrc .Xdefaults .config .gradle .xinitrc .wdiwtlt.properties .wdiwtlt.cli.properties ~
|
||||
cat .bashrc >> ~/.bashrc
|
||||
|
||||
@@ -20,13 +21,13 @@ git clone https://github.com/zah/nim.vim.git
|
||||
git clone https://github.com/tpope/vim-fugitive.git
|
||||
git clone https://github.com/isRuslan/vim-es6.git
|
||||
git clone https://github.com/airblade/vim-gitgutter.git
|
||||
git clone https://github.com:akhaku/vim-java-unused-imports.git
|
||||
git clone https://github.com/akhaku/vim-java-unused-imports.git
|
||||
ln -s /usr/share/lilypond/2.18.2/vim lilypond.vim
|
||||
|
||||
# Setup ST
|
||||
git clone http://git.suckless.org/st programs/st
|
||||
cd ~/programs/st
|
||||
cp ~/projects/dotfiles/st/* .
|
||||
cp "$DOTFILE_DIR/st/*" .
|
||||
cp config.normal.h config.h && make && sudo make install
|
||||
cp config.large.h config.h && make && sudo cp st /usr/local/bin/st-large
|
||||
cp config.small.h config.h && make && sudo cp st /usr/local/bin/st-small
|
||||
@@ -58,13 +59,19 @@ cd ..
|
||||
bin/nim c koch
|
||||
./koch boot -d:release
|
||||
|
||||
echo 'export NIM_HOME="$HOME/programs/nim"' >> ~/.profile
|
||||
echo 'export PATH="$PATH:$NIM_HOME/bin:$HOME/.nimble/bin"' >> ~/.profile
|
||||
export NIM_HOME="$HOME/programs/nim"
|
||||
export PATH="$PATH:$NIM_HOME/bin:$HOME/.nimble/bin"
|
||||
|
||||
cd ~/programs
|
||||
git clone https://github.com/nim-lang/nimble
|
||||
cd nimble
|
||||
nim c -r src/nimble install
|
||||
mkdir ~/.config/nimble
|
||||
cp "$DOTFILE_DIR/nimble.ini" ~/.config/nimble
|
||||
nimble update
|
||||
|
||||
echo 'export NIM_HOME="$HOME/programs/nim"' >> ~/.profile
|
||||
echo 'export PATH="$PATH:$NIM_HOME/bin:$HOME/.nimble/bin"' >> ~/.profile
|
||||
|
||||
source ~/.profile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user