blob: 1566f0e74b96e5b1b19e290458fb8679dbf9fd07 (
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
|
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/local/etc/profile.d/z.sh ] \
&& source /usr/local/etc/profile.d/z.sh \
&& export _Z_CMD='j'
[ -f /usr/share/z/z.sh -o -f /usr/local/share/z/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
|