learning script

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Chris Gehlker
Dato:  
Emne: learning script
On Jan 19, 2004, at 12:51 PM, Michael Havens wrote:

>
> My tutorial said that if I am going to add '.' it to my path to add it
> as the
> last searched. The problem I am having is that I don't know how ti add
> it as
> the last directory searced.


I add ~/bin to my path like this:
typeset -U path
path=($path ~/bin)


Be warned though, this is zsh - the superior shell.