blob: 9f49beabadde434750ccff9fd7939d866c0e744b (
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
|
export BROWSER='firefox --new-tab'
TERMINAL=xterm
if [[ $TERM =~ 'st' ]]; then
TERMINAL=st
fi
export TERMINAL=$TERMINAL
[ -f /usr/bin/qutebrowser ] && export BROWSER='qutebrowser'
[ -f /usr/share/z/z.sh -o -f /usr/local/etc/profile.d/z.sh ] && export _Z_CMD='j'
export FZF_DEFAULT_COMMAND='find . -type f'
if [ -f /usr/bin/fd ];then
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
fi
if type fcitx5 > /dev/null; then
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export INPUT_METHOD=fcitx
export SDL_IM_MODULE=fcitx
fi
|