-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_profile
80 lines (59 loc) · 1.73 KB
/
dot_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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/bash
#
# ~/.profile
#
# Shell profile that contains common configuration between different shells
# (bash, zsh, fish, etc).
# ----------------
# Exports
# ----------------
# Current user id (sometimes it is not exported, and it is useful to have)
export UID
# Default terminal text-editor to use
export VISUAL="nvim"
export EDITOR="$VISUAL"
# Go root and path
export GOROOT="$HOME/.golang"
export GOPATH="$HOME/Development/go"
# Android home
export ANDROID_HOME="$HOME/.android-sdk"
# Java apps font redering and corrent behaviour in tiling wms.
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dsun.java2d.xrender=true -Dswing.aatext=true'
export _JAVA_AWT_WM_NONREPARENTING=1
# Enables terminal colors in OS X
export CLICOLOR=1
# ----------------
# PATH
# ----------------
# System local bin
PATH="/usr/local/bin:/usr/local/sbin:$PATH"
PATH="/usr/local/opt/python/libexec/bin:$PATH"
# User local bin
PATH="$HOME/.local/bin:$PATH"
# Rust
PATH="$HOME/.cabal/bin:$PATH"
PATH="$HOME/.cargo/bin:$PATH"
# Go
PATH="$GOROOT/bin:$PATH"
PATH="$GOPATH/bin:$PATH"
# Miniconda
PATH="$HOME/.miniconda3/bin:$PATH"
# if which ruby >/dev/null && which gem >/dev/null; then
# PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
# fi
#PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
export PATH
# ----------------
# Misc
# ----------------
# # Sets up DPI size for GTK apps.
# if [[ $(hostname) == "ada" ]]; then
# export GDK_SCALE=2
# export GDK_DPI_SCALE=0.5
# fi
export N_PREFIX="$HOME/.n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin"
if command -v fnm; then
eval "$(fnm env)"
fi
#export SDKMAN_DIR="/home/danielrs/.sdkman"
#[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && . "$SDKMAN_DIR/bin/sdkman-init.sh"