aboutsummaryrefslogtreecommitdiff
path: root/.env
blob: f91f8357e9c616046d85789566b246782c17c075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export BROWSER='firefox --new-tab'

TERMINAL=xterm
if [[ $TERM =~ 'st' ]]; then
    TERMINAL=st
fi
export TERMINAL=$TERMINAL

[ -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