-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_linux.sh
43 lines (32 loc) · 1.23 KB
/
setup_linux.sh
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
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias ,,='fzf'
alias t='tree -L'
alias g='git'
alias r='rake'
alias ga='grep -rnHPI'
alias f='find'
alias glog='git log --graph --color'
alias myns='netstat -tulpn'
alias v='vim'
set -o ignoreeof
# colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
# export ANDROID_HOME=~/Android
# export ANDROID_SDK_ROOT=$ANDROID_HOME/Sdk
# export ANDROID_NDK_ROOT=$ANDROID_HOME/android-ndk-r20
# export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
# export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export FZF_DEFAULT_COMMAND='rg --files'
# export FZF_DEFAULT_OPTS='-m --height 50% --border --layout=reverse'
export FZF_DEFAULT_OPTS='-m --height 50%'
ulimit -c unlimited
# echo '/tmp/core_%e.%p' | sudo tee /proc/sys/kernel/core_pattern
# export GRADLE_OPTS='-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080' # Fuck Gradle
export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$"