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