Just do:
alias ls='clear;/usr/bin/ls'
When entering:
$ ls
First of all, he will search for a user-defined function, it will launch it, otherwise the search will be performed in the $ PATH commands.
By providing an explicit path to the ls , recursion can be avoided.
Arnaud F.
source share