On 5/21/07, shirish <[EMAIL PROTECTED]> wrote:
[...]
>        how can I do cls=clear (an alias) permanently. Thank you.

I would rather recommend that you write a "cls" function.  The "alias"
function above creates one, but it is only useful for short functions,
and anyway it is a workaround.   I think it will be more useful for
you to learn how to write functions in general.

function cls --description "Alias for the 'clear' command"
    clear
end

Put this in a file called ~/.config/fish/functions/cls.fish

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to