Re: Supplment de questyuns précédentes
Selon Norbert Prier <norbert@globenet.org>:
> Comment donner des couleurs aux DIR, LS etc.?
bonjour,
voici ce qui est disponible dans le .bashrc :
grep color .bashrc
# set a fancy prompt (non-color, unless we know we "want" color)
xterm-color)
# Comment in the above and uncomment this below for a color prompt
# enable color support of ls and also add handy aliases
eval "`dircolors -b`"
alias ls='ls --color=auto'
alias dir='ls --color=auto --format=vertical'
alias vdir='ls --color=auto --format=long'
# alias ls='ls --classify --tabsize=0 --literal --color=auto
--show-control-chars --human-readable'
if ls -F --color >&/dev/null; then
alias ls='command ls -F --color'
elif ls --color >&/dev/null; then
alias ls='command ls --color'
slt
bernard
Reply to: