-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_common_profile
41 lines (31 loc) · 1.12 KB
/
dot_common_profile
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
# run every time you launch a login shell
# here: environment variable
# echo common_profile
export PATH=~/.npm-global/bin:$PATH
export PATH=/opt:$PATH
export PATH="$HOME/.local/bin:$PATH"
export HSTR_CONFIG=hicolor,raw-history-view # get more colors
export HISTCONTROL=ignorespace # leading space hides commands from history
export HISTFILESIZE= # unlimited history file size (default is 500)
export HISTSIZE=${HISTFILESIZE} # unlimited history size (default is 500)
export VISUAL=nvim
export EDITOR="$VISUAL"
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export PIPENV_VENV_IN_PROJECT=enabled
export IDEA_JDK=/usr/lib/jvm/jdk-jetbrains
# Personal
for FILE in ~/.credentials ~/.work_profile
do
[ -f $FILE ] && . $FILE
done
# if [ -f ~/jest ]; then
# . ~/jest
# fi
[ -f /opt/homebrew/bin/brew ] && eval "$(/opt/homebrew/bin/brew shellenv)"
export NVM_DIR="$HOME/.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
# Disciplined LeetCode
DISCIPLINE_MODE=dev