mirror of
https://github.com/opensiriusfox/bashrc.d.git
synced 2025-06-16 20:31:15 -07:00
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.
15 lines
No EOL
371 B
Bash
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' |