env var setting extracted out to allow use in the common configuration script
This commit is contained in:
parent
7a6027677a
commit
0b3c32ff23
3 changed files with 18 additions and 19 deletions
13
.setenv
Normal file
13
.setenv
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
export GOPATH=~/go
|
||||||
|
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
||||||
|
export PATH=$HOME/tools:$PATH
|
||||||
|
export PATH=$GOPATH/bin:$PATH
|
||||||
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
export PATH=/usr/local/heroku/bin:$PATH
|
||||||
|
export PATH=$HOME/tools/subuser/logic:$HOME/.subuser/bin:$PATH
|
||||||
|
export PATH=$HOME/.multirust/toolchains/stable/cargo/bin:$PATH
|
||||||
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
|
export RUST_SRC_PATH=$HOME/dev/rust/src
|
||||||
|
export EDITOR="vim"
|
||||||
|
export KEYTIMEOUT=1
|
16
.zshrc
16
.zshrc
|
@ -46,20 +46,6 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# env vars
|
# env vars
|
||||||
export GOPATH=~/go
|
source ~/.setenv
|
||||||
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
|
||||||
export PATH=$HOME/tools:$PATH
|
|
||||||
export PATH=$GOPATH/bin:$PATH
|
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
|
||||||
export PATH=/usr/local/heroku/bin:$PATH
|
|
||||||
export PATH=$HOME/tools/subuser/logic:$HOME/.subuser/bin:$PATH
|
|
||||||
export PATH=$HOME/.multirust/toolchains/stable/cargo/bin:$PATH
|
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
|
||||||
export RUST_SRC_PATH=$HOME/dev/rust/src
|
|
||||||
export EDITOR="vim"
|
|
||||||
export KEYTIMEOUT=1
|
|
||||||
#
|
|
||||||
#temporary fix for rustc [https://github.com/rust-lang/rust-installer/issues/30], for Fedora only
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ ln -vfs "$DIR/.vimrc" ~/.
|
||||||
ln -vfs "$DIR/.tmux.conf" ~/.
|
ln -vfs "$DIR/.tmux.conf" ~/.
|
||||||
rm -f "~/.zshrc"
|
rm -f "~/.zshrc"
|
||||||
ln -vfs "$DIR/.zshrc" ~/.
|
ln -vfs "$DIR/.zshrc" ~/.
|
||||||
|
ln -vfs "$DIR/.setenv" ~/.
|
||||||
ln -vfs "$DIR/.oh-my-zsh" ~/.
|
ln -vfs "$DIR/.oh-my-zsh" ~/.
|
||||||
ln -vfs "$DIR/.oh-my-zsh-plugins/zsh-syntax-highlighting" ~/.oh-my-zsh/custom/plugins/
|
ln -vfs "$DIR/.oh-my-zsh-plugins/zsh-syntax-highlighting" ~/.oh-my-zsh/custom/plugins/
|
||||||
ln -vfs "$DIR/.Slic3r" ~/.
|
ln -vfs "$DIR/.Slic3r" ~/.
|
||||||
|
@ -40,6 +41,8 @@ mkdir -p ~/.config/vdirsyncer/
|
||||||
ln -vfs "$DIR/.config/vdirsyncer/config" ~/.config/vdirsyncer/
|
ln -vfs "$DIR/.config/vdirsyncer/config" ~/.config/vdirsyncer/
|
||||||
ln -vfs "$DIR/.config/redshift.conf" ~/.config/redshift.conf
|
ln -vfs "$DIR/.config/redshift.conf" ~/.config/redshift.conf
|
||||||
|
|
||||||
|
source ~/.setenv
|
||||||
|
|
||||||
cd "$DIR/.vim/bundle/YouCompleteMe/"
|
cd "$DIR/.vim/bundle/YouCompleteMe/"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
python install.py --clang-completer
|
python install.py --clang-completer
|
||||||
|
@ -86,11 +89,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cargo install rustfmt
|
cargo install rustfmt
|
||||||
|
cargo install clippy
|
||||||
# racer
|
|
||||||
set +e
|
|
||||||
cargo install racer
|
cargo install racer
|
||||||
set -e
|
|
||||||
|
|
||||||
# rvm
|
# rvm
|
||||||
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
||||||
|
|
Loading…
Reference in a new issue