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

Re: Using zsh from another shell



On Thu, Mar 27, 2014 at 10:47 AM, Wayne Davison <wayne@xxxxxxxxxxxxxxx>wrote:

> ssh () { if [[ $# = 1 ]]; then set -- -t $1 zsh -l fi if [[ $# = 2 && "$1"
> = '-q' ]]; then set -- -tq $2 zsh -l fi command ssh $@}
>

Hmm, I'm not sure why that lost all its newlines -- must be some weird
paste interaction.  I'm sure you can figure it out, though.

..wayne..


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