help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alias-like function?


From: Søren Hauberg
Subject: alias-like function?
Date: Wed, 14 Jan 2004 22:52:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Hi all,
I'm using octave 2.1.50 on linux.
I'm looking for something like the shell command "alias" for octave. I would like to have color output when typing ls. I can achive this by typing "ls --color" but I don't want to do this all the time. I could define a function
function ls_tmp(), ls --color, end;
but then I wouldn't be able to type "ls" I would have to type "ls_tmp" (or what ever the function would be called).
So is there an alias-like command for octave?

Soren



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]