:: Re: [DNG] Configure Xterm
Startseite
Nachricht löschen
Nachricht beantworten
Autor: KatolaZ
Datum:  
To: emninger
CC: dng
Betreff: Re: [DNG] Configure Xterm
On Tue, May 24, 2016 at 11:04:59PM +0200, emninger@??? wrote:
> I would like to have in the terminal (i use xterm), directories shown
> not only with a different colour (i managed that) but also with final
> slash (i liked that in some bsd and in slackware), e.g.:
>
> ~/.bogofilter/
> ~/.claws-mail/
>
> etc. Someone knows by chance how to set that in .Xresources?
>


It's not a matter of .Xresources, but instead of the alias associated
to ls. If you type:

$ ls -p

all directories will have a trailing "/", so you can set a proper
alias to ls in your .bashrc, such as:

alias ls='ls --color=auto -p'

and you will have colours and trailing slashes. If you want all the
set of trailing characters to be used (i.e., * for executables, @ for
symlinks, etc.) you can instead use:

alias ls='ls --color=auto -F'


HND

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]