-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.myenvrc
37 lines (28 loc) · 1.37 KB
/
.myenvrc
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
alias rm='echo "Please try trash...";false'
alias vpn='export http_proxy="http://127.0.0.1:8001"; export HTTP_PROXY="http://127.0.0.1:8001"; export https_proxy="http://127.0.0.1:8001"; export HTTPS_PROXY="http://127.0.0.1:8001"'
alias novpn='export http_proxy=""; export HTTP_PROXY=""; export https_proxy=""; export HTTPS_PROXY=""'
alias vim='nvim'
alias wl='sudo systemctl restart systemd-resolved.service;sudo systemctl restart systemd-networkd.service;sudo systemctl restart dhcpcd.service;sudo systemctl restart iwd.service ;'
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=blue'
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SDL_IM_MODULE=fcitx
export GLFW_IM_MODULE=ibus
export GOPATH=~/go
export GOBIN=$GOPATH/bin
export GRAALVM_HOME=~/sdk/graalvm-ce-java17-22.3.1
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
export PATH=$PATH:$GOBIN:$JAVA_HOME/bin:$GRAALVM_HOME/bin:/opt/GoLand-2019.1.4/bin:/opt/appimages
#add this to run idea in none-root user
export _JAVA_AWT_WM_NONREPARENTING=1
export EDITOR=nvim
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
#eval $(keychain --eval --quiet ~/.ssh/id_rsa)
#eval $(keychain --eval --quiet --agents gpg Alice)
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa