I want to make an alias that will add a space before and after each time I use ls.
If I use just ls the result is to close to the line above and under it it I sometimes find it hard and confusing to read the output. So I’ve started to use the line:
echo "\n"; ls something ; echo "\n"
Is there a way to put it in an alias, so that each time I’ll use the ls command it’ll automatically add the echo commands?
Don’t have csh/tcsh available so I cannot test, but this should work
Command line parameters in tcsh/csh:
!!is the whole command line!*is all the arguments of the command!:1is the first argument of the command!:2is the second argument of the command!$is the last argument of the command