-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_options
33 lines (23 loc) · 906 Bytes
/
bash_options
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Shell Options
# http://ss64.com/bash/shopt.html
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Autocorrect typos in path names when using the `cd` command
shopt -s cdspell
# Check the window size after each command and, if necessary, update
# the values of `LINES` and `COLUMNS`
shopt -s checkwinsize
# Save all lines of a multiple-line command in the same history entry
shopt -s cmdhist
# Include filenames beginning with a "." in the filename expansion
shopt -s dotglob
# Use extended pattern matching features
shopt -s extglob
# Append to the history file, rather then overwriting it
shopt -s histappend
# Do not attempt to search the PATH for possible completions when
# completion is attempted on an empty line
shopt -s no_empty_cmd_completion
# Match filenames in a case-insensitive# fashion when performing
# filename expansion
shopt -s nocaseglob