Add some interesting features from https://github.com/mrzool/bash-sensible
This commit is contained in:
parent
247603a6a8
commit
6026b3b6b2
15
.bashrc
15
.bashrc
@ -35,7 +35,20 @@ shopt -s checkwinsize
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
# Interdire l'écrasement de fichier avec >
|
||||
set -C
|
||||
set -o noclobber
|
||||
|
||||
# Prepend cd to directory names automatically
|
||||
shopt -s autocd
|
||||
# Correct spelling errors during tab-completion
|
||||
shopt -s dirspell
|
||||
# Correct spelling errors in arguments supplied to cd
|
||||
shopt -s cdspell
|
||||
|
||||
# Perform file completion in a case insensitive fashion
|
||||
bind "set completion-ignore-case on"
|
||||
|
||||
# Treat hyphens and underscores as equivalent
|
||||
bind "set completion-map-case on"
|
||||
|
||||
PS1=""
|
||||
MD5CMD=`(which md5sum > /dev/null && echo "md5sum") ||
|
||||
|
Loading…
Reference in New Issue
Block a user