Bash: some cleaning.
This commit is contained in:
parent
c83b3a03a8
commit
3d02d94960
@ -14,10 +14,10 @@ shopt -s cdspell
|
|||||||
# Save all lines of a multiple-line command in the same history entry (allows easy re-editing of multi-line commands)
|
# Save all lines of a multiple-line command in the same history entry (allows easy re-editing of multi-line commands)
|
||||||
shopt -s cmdhist
|
shopt -s cmdhist
|
||||||
# Do not autocomplete when accidentally pressing Tab on an empty line. (It takes forever and yields "Display all 15 gazillion possibilites?")
|
# Do not autocomplete when accidentally pressing Tab on an empty line. (It takes forever and yields "Display all 15 gazillion possibilites?")
|
||||||
shopt -s no_empty_cmd_completion;
|
shopt -s no_empty_cmd_completion
|
||||||
|
|
||||||
# Do not overwrite files when redirecting using ">". Note that you can still override this with ">|"
|
# Do not overwrite files when redirecting using ">". Note that you can still override this with ">|"
|
||||||
set -o noclobber;
|
set -o noclobber
|
||||||
|
|
||||||
# Enable some Bash 4 features when possible:
|
# Enable some Bash 4 features when possible:
|
||||||
# * `autocd`, e.g. `**/qux` will enter `./foo/bar/baz/qux`
|
# * `autocd`, e.g. `**/qux` will enter `./foo/bar/baz/qux`
|
||||||
|
Loading…
Reference in New Issue
Block a user