-
Notifications
You must be signed in to change notification settings - Fork 0
/
.profile
40 lines (32 loc) · 1.07 KB
/
.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
# user specific data files
export XDG_DATA_HOME=~/.local/share
# user specific configuration files
export XDG_CONFIG_HOME=~/.config
# user specific non-essential data files
export XDG_CACHE_HOME=~/.cache
# user-specific non-essential runtime files (sockets, named pipes, ...)
# XDG_RUNTIME_DIR already set by systemd
# user preferences
export EDITOR='emacsclient -t'
export VISUAL='emacsclient -c'
export PAGER=most
### "bat" as manpager
#export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# gnupg
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
# java
# for java 8
export _JAVA_AWT_WM_NONREPARENTING=1
# for java 9+
export AWT_TOOLKIT=MToolkit
# better fonts, look-and-feel, use opengl
export JDK_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dsun.java2d.opengl=true'
# mplayer
export MPLAYER_HOME=$XDG_CONFIG_HOME/mplayer
# rust toolchain
export CARGO_HOME=$XDG_DATA_HOME/cargo
export RUSTUP_HOME=$XDG_DATA_HOME/rustup
# go
export GOPATH=$XDG_CACHE_HOME/go
# docker
export DOCKER_BUILDKIT=1