added -A to ls alias, added -h to la alias, removed lesspipe
This commit is contained in:
parent
caa9987e9c
commit
d268eb9172
10
.bashrc
10
.bashrc
|
@ -24,12 +24,6 @@ if [[ -s /usr/share/doc/pkgfile/command-not-found.bash ]];then
|
||||||
source /usr/share/doc/pkgfile/command-not-found.bash
|
source /usr/share/doc/pkgfile/command-not-found.bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable less syntax hilighting if src-hilight is installed
|
|
||||||
if [[ -s /usr/bin/src-hilite-lesspipe.sh ]]; then
|
|
||||||
export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
|
|
||||||
export LESS=' -R '
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If a directory is given without any
|
# If a directory is given without any
|
||||||
# command, CD into it.
|
# command, CD into it.
|
||||||
shopt -s autocd
|
shopt -s autocd
|
||||||
|
@ -62,9 +56,9 @@ fi
|
||||||
### ALIASES ###
|
### ALIASES ###
|
||||||
|
|
||||||
# Colorize all `ls` output:
|
# Colorize all `ls` output:
|
||||||
alias ls='ls -F --color=auto'
|
alias ls='ls -AF --color=auto'
|
||||||
# Map "la" to `ls -la`
|
# Map "la" to `ls -la`
|
||||||
alias la='ls -laF --color=auto'
|
alias la='ls -laFh --color=auto'
|
||||||
|
|
||||||
# Colorize `grep` output
|
# Colorize `grep` output
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
|
|
Loading…
Reference in New Issue