26 lines
599 B
Bash
26 lines
599 B
Bash
#!/bin/bash
|
|
|
|
# program exports to keep the $HOME neat and tidy
|
|
# bash
|
|
export HISTFILE="$HOME/.config/bash/hist"
|
|
export HISTFILESIZE=3000
|
|
|
|
# python
|
|
export PYTHONSTARTUP="$HOME/.config/python/pythonrc.py"
|
|
|
|
# less
|
|
export LESSHISTFILE="-"
|
|
|
|
# remind
|
|
export DOTREMINDERS="$HOME/git/calendar/reminders"
|
|
|
|
# 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"
|
|
|
|
# source the bashrc(s)
|
|
[ -f $HOME/.config/bash/bashrc ] && . $HOME/.config/bash/bashrc
|
|
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
|