Add updates from work computer

This commit is contained in:
Tony Grosinger 2020-12-29 14:43:10 -08:00
parent c71e7f6634
commit 0dd554c7f1

View File

@ -13,16 +13,22 @@ alias rmr="rm -r"
# History
HISTSIZE=50000
HISTFILESIZE=50000
HISTCONTROL=ignoredups:ignorespace
HISTCONTROL=ignoreboth:erasedups
HISTIGNORE="ls:ll:cd:pwd:bg:fg:history"
if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
# History
shopt -s histappend
# append and reload the history after each command
PROMPT_COMMAND="history -a; history -n"
for filename in ${HOME}/.ssh/*.pub; do
keyname="$(basename ${filename} .pub)"
eval $(keychain --nogui --eval --quiet ${keyname})
done
bind -x '"\C-r"':reset
#elif [[ "${OSTYPE}" == "darwin"* ]]; then
fi