The simplest solution (as given already by @don_crissti in the comments) is:
You can get a similar effect with:
But that will add some other indicators as well:
Append a character to each file name indicating the file type.
Also, for regular files that are executable, append
*. The file
type indicators are
/ for directories,
@ for symbolic links,
| for FIFOs,
= for sockets,
> for doors, and nothing for
Of course, you can make the string
ls -p on the command line with an alias:
alias ls='ls -p'
That is temporal and could be erased with
tcsh has an active alias in place.
Which you can do by placing the command in