dot_testing/bash/profile

32 lines
719 B
Plaintext
Raw Normal View History

2022-02-05 22:58:21 -06:00
#!/bin/bash
# program exports to keep the $HOME neat and tidy
# bash
export HISTFILE="$HOME/.config/bash/hist"
export HISTFILESIZE=3000
2022-06-18 15:41:52 -05:00
# python
export PYTHONSTARTUP="$HOME/.config/python/pythonrc.py"
2022-02-05 22:58:21 -06:00
# less
export LESSHISTFILE="-"
2022-07-18 22:20:53 -05:00
# gnupg
export GNUPGHOME="$HOME/.local/share/gnupg"
# remind
export DOTREMINDERS="$HOME/git/calendar/reminders"
2022-06-26 19:01:20 -05:00
# XDG config
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
2022-08-21 10:27:50 -05:00
# reminders
export DOTREMINDERS="$XDG_DATA_HOME/reminders/remind"
2022-02-05 22:58:21 -06:00
# source the bashrc(s)
[ -f $HOME/.config/bash/bashrc ] && . $HOME/.config/bash/bashrc
[ -f $HOME/.bashrc ] && . $HOME/.bashrc