blob: 77e00bc05a7752709a79af9e7e80e40f550fcb63 (
plain)
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
80
81
82
83
84
85
86
|
if status is-interactive
if which khal 2> /dev/null > /dev/null
khal calendar 2> /dev/null
end
end
if which roxterm 2> /dev/null > /dev/null
set -x TERMINAL roxterm
end
if which nvim 2> /dev/null > /dev/null
set -x VISUAL nvim
set -x EDITOR nvim
set -x SYSTEMD_EDITOR nvim
else
set -x VISUAL vim
set -x EDITOR vim
set -x SYSTEMD_EDITOR vim
end
if which ruby 2> /dev/null > /dev/null
set RUBY_PATH (ruby -e 'print Gem.user_dir')/bin
end
set -x NPM_PACKAGES "$HOME/.npm-packages"
set -x GOPATH "$HOME/.go"
set -x NODE_PATH "$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
set -x RUST_PATH "$HOME/.cargo"
set -x DEVKITPRO_DIR "/opt/devkitpro"
set -x EMSCRIPTEN_PATH "/usr/lib/emscripten"
set -x JUPYTERLAB_DIR "$HOME/.local/share/jupyterlab"
set -x GPG_TTY (tty)
if [ -d "$HOME/.local/bin" ]
set -x PATH $PATH "$HOME/.local/bin"
end
if [ -d "$NPM_PACKAGES/bin" ]
set -x PATH $PATH "$NPM_PACKAGES/bin"
end
if [ -d "$GOPATH/bin" ]
set -x PATH $PATH "$GOPATH/bin"
end
if [ -d "$RUBY_PATH" ]
set -x PATH $PATH "$RUBY_PATH"
end
if [ -d "$RUST_PATH/bin" ]
set -x PATH $PATH "$RUST_PATH/bin"
end
if [ -d "$EMSCRIPTEN_PATH" ]
set -x PATH $PATH "$EMSCRIPTEN_PATH"
end
if [ -d "$DEVKITPRO_DIR" ]
set -x DEVKITPRO '/opt/devkitpro'
set -x DEVKITARM '/opt/devkitpro/devkitARM'
set -x DEVKITPPC '/opt/devkitpro/devkitPPC'
set -x DEVKIT_PATH "$DEVKITPRO_DIR/tools/bin"
set -x PATH $PATH "$DEVKITPRO_PATH"
end
if which fcitx 2> /dev/null > /dev/null
set -x GTK_IM_MODULE "fcitx"
set -x QT_IM_MODULE "fcitx"
set -x XMODIFIERS "@im=fcitx"
end
if [ -d "/opt/android-sdk" ]
set -x ANDROID_HOME /opt/android-sdk/
end
[ -z "$DISPLAY" ] ; and [ "$XDG_VTNR" = "1" ] ; and exec startx
# alias gobjc='gcc -L /usr/lib/GNUstep/Libraries/gnustep-base -lgnustep-base -fconstant-string-class=NSConstantString'
# alias smpd='ssh achessh@ache.one -fp 21 ssh ache@localhost -p 60065 -L 8091:localhost:8091 -fN'
set -x fish_emoji_width 2
if test -e ~/.dircolors
eval (dircolors -c ~/.dircolors)
end
# opam configuration
source /home/ache/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|