-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
50 lines (40 loc) · 1.63 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
CURDIR=$(dirname ${(%):-%N})
export PATH="$CURDIR/.cargo/bin:$PATH"
eval "$(starship init zsh)"
source "$CURDIR/.zsh/zplug.zsh"
source "$CURDIR/.zsh/path.zsh"
source "$CURDIR/.zsh/default.zsh"
source "$CURDIR/.zsh/bindkeys.zsh"
source "$CURDIR/.zsh/history.zsh"
source "$CURDIR/.zsh/aliases.zsh"
source "$CURDIR/.zsh/functions.zsh"
# source "$CURDIR/.zsh/fzf.zsh"
# Preferred ssh or local configuration
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
source "$CURDIR/.zsh/ssh.zsh"
else
source "$CURDIR/.zsh/local.zsh"
fi
# [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f $HOME/.cargo/env ] && source $HOME/.cargo/env
export NVM_DIR="$CURDIR/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$CURDIR/.rvm/bin"
export PATH="$CURDIR/.yarn/bin:$PATH"
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
export ANDROID_HOME="/home/cyril/.android/sdk"
export PATH="${ANDROID_HOME}/emulator:/opt/gradle/gradle-5.2.1/bin:${ANDROID_HOME}/tools/:${ANDROID_HOME}/platform-tools/:{$PATH}"
export _JAVA_AWT_WM_NONREPARENTING=1
if [ -f /home/cyril/.tnsrc ]; then
source /home/cyril/.tnsrc
fi
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/local/bin/mc mc
export PATH="$PATH:$HOME/.rvm/bin"
export RUBYOPT='-W:no-deprecated -W:no-experimental'
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
export PATH="$PATH:/usr/local/go/bin"