Skip to content

Commit 537e831

Browse files
author
Jeff Bai
committed
adding shopts to bashrc, #6
1 parent c86782e commit 537e831

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

bashrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,24 @@
1414
# go into ~/.bashrc
1515

1616
. /etc/profile
17+
1718
# Systemd specific, as cutting off output sounds like a silly idea.
1819

1920
# which(){ (alias; declare -F) | /usr/bin/which -i --read-functions "$@"; }
2021

2122
# Provides prompt for non-login shells, specifically shells started
2223
# in the X environment.
2324

25+
# Use case-insensitive filename globbing
26+
shopt -s nocaseglob
27+
28+
# Make bash append rather than overwrite the history on disk
29+
shopt -s histappend
30+
31+
# When changing directory small typos can be ignored by bash
32+
# for example, cd /vr/lgo/apaache would find /var/log/apache
33+
shopt -s cdspell
34+
2435
# Colors
2536
alias l='ls -AFlh'
2637
alias ll='ls -Flh'

0 commit comments

Comments
 (0)