cleanup zsh env
This commit is contained in:
parent
5002e6407e
commit
a273c90c07
5 changed files with 14 additions and 23 deletions
|
@ -1,10 +1,7 @@
|
||||||
fedora:
|
fedora:
|
||||||
before_script:
|
before_script:
|
||||||
- apk add bash
|
- apk add bash
|
||||||
script:
|
script: ./test.sh
|
||||||
- pwd
|
|
||||||
- ls
|
|
||||||
- bash -c $CI_PROJECT_DIR/test.sh
|
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
@ -17,10 +14,7 @@ fedora:
|
||||||
ubuntu:
|
ubuntu:
|
||||||
before_script:
|
before_script:
|
||||||
- apk add bash
|
- apk add bash
|
||||||
script:
|
script: ./test.sh
|
||||||
- pwd
|
|
||||||
- ls
|
|
||||||
- bash -c $CI_PROJECT_DIR/test.sh
|
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
16
.setenv.sh
16
.setenv.sh
|
@ -1,12 +1,14 @@
|
||||||
export TERM="xterm-256color"
|
export TERM="xterm-256color"
|
||||||
export GOPATH=`realpath "$HOME/go"`
|
export GOPATH=`realpath "$HOME/go"`
|
||||||
|
|
||||||
export PATH=$PATH:$HOME/.rvm/bin
|
export PATH="$GOPATH/bin:$PATH"
|
||||||
export PATH=$HOME/tools:$PATH
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
export PATH=$HOME/bin:$PATH
|
|
||||||
export PATH=$GOPATH/bin:$PATH
|
export PATH="$HOME/programs:$PATH"
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH="$HOME/tools:$PATH"
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH="$HOME/bin:$PATH"
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
|
||||||
export RUST_SRC_PATH=$HOME/dev/rust/src
|
export RUST_SRC_PATH=$HOME/dev/rust/src
|
||||||
export EDITOR="vim"
|
export EDITOR="vim"
|
||||||
|
@ -14,5 +16,3 @@ export KEYTIMEOUT=1
|
||||||
export VAGRANT_DEFAULT_PROVIDER=virtualbox
|
export VAGRANT_DEFAULT_PROVIDER=virtualbox
|
||||||
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
|
||||||
source "$NVM_DIR/nvm.sh"
|
|
||||||
|
|
|
@ -30,11 +30,6 @@ fi
|
||||||
|
|
||||||
TMPPREFIX="${TMPDIR%/}/zsh"
|
TMPPREFIX="${TMPDIR%/}/zsh"
|
||||||
|
|
||||||
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
|
||||||
export PATH="$HOME/programs:$PATH"
|
|
||||||
|
|
||||||
# other common env vars
|
|
||||||
source ~/.setenv
|
source ~/.setenv
|
||||||
|
|
||||||
vacuum-repo() {
|
vacuum-repo() {
|
||||||
|
|
2
.zshrc
2
.zshrc
|
@ -36,5 +36,5 @@ if [[ `uname` =~ 'CYGWIN.*' ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
[ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh
|
[ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
|
|
|
@ -72,6 +72,8 @@ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | b
|
||||||
|
|
||||||
echo "sourcing env"
|
echo "sourcing env"
|
||||||
source ~/.setenv
|
source ~/.setenv
|
||||||
|
|
||||||
|
\. "$NVM_DIR/nvm.sh"
|
||||||
nvm use node
|
nvm use node
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
|
|
Loading…
Reference in a new issue