~raboof/dotfiles

d703f3f63a77f2124c425605f0ea27d24ae2429a — Arnout Engelen 9 months ago 908a23a
bash history tweaks
1 files changed, 6 insertions(+), 0 deletions(-)

M .bashrc
M .bashrc => .bashrc +6 -0
@@ 1,5 1,11 @@
source ~/.secretsrc
export DEFAULT_USER=aengelen
source ~/dev/agnoster-bash/agnoster.bash
export PATH=~/bin:$PATH

# don't overwrite history
shopt -s histappend
# update history immediately
PROMPT_COMMAND="$PROMPT_COMMAND; history -a; history -n"

alias ns=~/dev/nix-shell-git/nix-shell-git