-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbashrc
More file actions
19 lines (13 loc) · 675 Bytes
/
bashrc
File metadata and controls
19 lines (13 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Executed everytime the user opens a new shell with bash
# Checks the window size after each command and, if necessary, updates LINES and COLUMNS values.
shopt -s checkwinsize
# Attempts to save all lines of a multi-line command as a single history entry for easy re-editing.
shopt -s cmdhist
# Enables extended pattern matching features.
shopt -s extglob
# The history list is appended (instead of being overwritten) as defined by the HISTFILE variable.
shopt -s histappend
# Enables history expansion with space (i.e. `!!<space>`).
bind Space:magic-space
# Load our profile for any shared configs between bash and zsh
[[ -r "$HOME/.profile" ]] && . "$HOME/.profile"