Skip to content

Instantly share code, notes, and snippets.

@mrpavelius
Created July 14, 2022 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrpavelius/4715f5168da33bbe04b1bb868c9fffe6 to your computer and use it in GitHub Desktop.
Save mrpavelius/4715f5168da33bbe04b1bb868c9fffe6 to your computer and use it in GitHub Desktop.
# ----------------------------------------
# Load dotfiles.
# (Run 'man test' to understand options like '-r' and '-f'.)
for file in ~/.{bash_prompt,}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
# https://stackoverflow.com/a/42265848
export GPG_TTY=$(tty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment