Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Expansion order



On Jan 25,  2:53pm, Peter Stephenson wrote:
} Subject: Re: Expansion order
}
} typeset -xT LS_OPTIONS="-N --color=tty -T 0" ls_options
} alias ls='ls $ls_options'
} 
} This allows for whitespace characters in the options as long as you
} manipulate them through the array ls_options.

Doesn't that need to be

  typeset -xT LS_OPTIONS="-N --color=tty -T 0" ls_options ' '

??  Otherwise it's splitting on colons, not spaces.



Messages sorted by: Reverse Date, Date, Thread, Author