dotfiles/.profile

68 lines
1.5 KiB
Plaintext
Raw Normal View History

# shellcheck shell=sh
2019-06-23 16:49:02 +00:00
export BROWSER=firefox
export EDITOR=vi
2019-06-26 21:59:48 +00:00
export FZF_DEFAULT_OPTS="-m --no-mouse"
2019-07-07 14:45:38 +00:00
export FZF_DEFAULT_COMMAND="find . -type f | cut -d'/' -f2-"
export XDG_CONFIG_HOME="$HOME/.config"
2022-10-13 22:14:36 +00:00
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
# fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export S6_SCANDIR="$HOME/.s6/scandir"
export SWAYIDLE_LOCK=300
export SWAYIDLE_TURN_OFF=600
2023-10-13 16:38:31 +00:00
export GTK_THEME=Arc
export LESSCOLORIZER="highlight -O ansi"
2023-11-27 17:25:02 +00:00
export LESS="-R -z-2 -j4 -F"
2022-05-24 08:34:52 +00:00
command -v delta >/dev/null 2>&1 && export GIT_PAGER=delta
2019-10-21 11:56:15 +00:00
# fix java swing applications
export _JAVA_AWT_WM_NONREPARENTING=1
2022-11-25 15:32:22 +00:00
export SFEED_URL_FILE=$HOME/.sfeed/urls
export NEOVIDE_MULTIGRID=1
2022-09-18 04:25:40 +00:00
export PNPM_HOME="/home/odrling/.local/share/pnpm"
2022-09-25 02:03:55 +00:00
export PATH="$HOME/.local/bin:$HOME/.local/odrbin:$PNPM_HOME:$PATH:$HOME/.luarocks/bin:$HOME/.go/bin"
2022-09-18 04:25:40 +00:00
export FZF_DEFAULT_OPTS="-m"
2023-11-27 17:30:36 +00:00
command -v fd > /dev/null && export FZF_DEFAULT_COMMAND="fd"
2023-11-27 17:42:25 +00:00
export GPG_TTY=$(tty)
2023-12-13 00:18:42 +00:00
ODRCDPATH=".:$HOME/git"
2023-12-13 00:18:42 +00:00
export GRAPHICAL_TTY=1
export GITSTATUS_AUTO_INSTALL=0
2024-03-22 16:21:08 +00:00
export GITSTATUS_DAEMON=/usr/libexec/gitstatus/gitstatusd
2023-11-27 17:42:25 +00:00
2022-09-29 02:25:41 +00:00
[ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ] && . "$HOME/.nix-profile/etc/profile.d/nix.sh"
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh"
2023-11-11 11:24:48 +00:00
ulimit -c unlimited
2023-10-16 06:37:06 +00:00
[ -f ~/.profile.local ] && . ~/.profile.local
2023-12-13 00:18:42 +00:00
export CDPATH="$ODRCDPATH"
2023-10-16 00:00:01 +00:00
[ "$(tty)" = '/dev/tty1' ] && exec startsession
if [ -n "$SSH_CONNECTION" ]; then
export PINENTRY_USER_DATA="USE_CURSES=1"
else
GRAPHICAL_TTY=0
fi
2023-12-13 00:42:47 +00:00
exec $SHELL