dots-of-war/profile/.profile

76 lines
2.2 KiB
Text
Raw Normal View History

2021-10-08 14:58:07 +00:00
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
. $HOME/.nix-profile/etc/profile.d/nix.sh;
2023-12-20 13:06:57 +00:00
export XDG_DATA_DIRS="$HOME/.nix-profile/share/applications:$HOME/.local/share/applications:/usr/local/share:/usr/share"
export LOCALE_ARCHIVE=$(nix-build '<nixpkgs>' --no-out-link -A glibcLocales)/lib/locale/locale-archive
export PATH="$HOME/.nix-profile/share/applications/:$PATH"
export PATH="$HOME/.nix-profile/bin/:$PATH"
2021-10-08 14:58:07 +00:00
fi
export PATH="$HOME/.local/bin/scripts:$PATH"
export PATH="$HOME/.emacs.d/bin/:$PATH"
export PATH="$HOME/.npm-global/bin:$PATH"
export PATH="$HOME/intelliJInstall/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/.cpm/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.nimble/bin:$PATH"
2022-03-09 14:29:18 +00:00
export PATH="$HOME/.dotnet/tools:$PATH"
2021-10-08 14:58:07 +00:00
export EDITOR="$(which nvim)"
export BROWSER="$(which google-chrome-stable)"
2023-12-20 13:06:57 +00:00
#export TERMINAL="$(which alacritty)"
export TERMINAL="$(which foot)"
2021-10-08 14:58:07 +00:00
2021-04-23 08:18:51 +00:00
export RANGER_LOAD_DEFAULT_RC=FALSE
export FZF_DEFAULT_COMMAND='rg --files'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND="rg --files --null | xargs -0 dirname | sort -u"
export LESSHISTFILE="/dev/null"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
2021-10-08 14:58:07 +00:00
export XDG_DATA_HOME="$HOME/.local/share"
2021-04-23 08:18:51 +00:00
2021-10-08 14:58:07 +00:00
# Man pages color support
export LESS_TERMCAP_mb=$'\e[1;32m'
export LESS_TERMCAP_md=$'\e[1;32m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[01;33m'
export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[1;4;31m'
export NNN_PLUG='F:fzopen;S:suedit'
2021-04-23 08:18:51 +00:00
export FREETYPE_PROPERTIES='truetype:interpreter-version=40'
export _JAVA_OPTIONS='-Dswing.aatext=true -Dawt.useSystemAAFontSettings=lcd'
2021-10-08 14:58:07 +00:00
2021-04-23 08:18:51 +00:00
export _JAVA_AWT_WM_NONREPARENTING=1
2021-05-21 17:29:37 +00:00
2021-10-08 14:58:07 +00:00
command -v opam > /dev/null && eval "$(opam env)"
command -v luarocks > /dev/null && eval "$(luarocks path --lua-version=5.4)"
command -v zoxide > /dev/null && eval "$(zoxide init zsh)"
## Launches tbsm on session start
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
2023-12-20 13:06:57 +00:00
if command -v tbsm > /dev/null; then
tbsm
fi
2021-10-08 14:58:07 +00:00
fi
2024-04-27 09:29:04 +00:00
export NVM_DIR="$HOME/.config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm