On 02/10/2014 08:15 PM, Mike Rushton wrote:
I am trying to put an alias in a .bashrcalias clear='printf "\033c"'
Sometimes 'clear' is installed and sometimes it's not, so I put this line in my ~/.bashrc file on all Linux, BSD and Cygwin systems: test -z "$(type -t clear)" && alias clear='echo -n -e "\e[2J\e[H"' -Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple