bashrc.d/misc.sh
Luke 148ef9e7ba Added a builder script
The build script reduces the amount of IO on the disk when starting a new bash session.
This should speed up the startup time of the shell when under heavy IO load. There is
also a short reloader command that calls the builder script when things are modified to
avoid hot reloading of the scripts in the directory.
2021-12-28 11:32:30 -08:00

15 lines
No EOL
371 B
Bash

#!/bin/bash
# random things I don't know how to sort
complete -cf sudo
# Include the autojump tool if it exists
if [[ -e /usr/share/autojump/autojump.sh ]]; then
. /usr/share/autojump/autojump.sh
fi
export LESS=R # colorize less output if we use a pipe
export HISTSIZE=10000
export HISTFILESIZE=20000
export HISTIGNORE='pwd:exit:fg:bg:top:clear:history:ls:uptime:df'