Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Please help notorious "space"-mistyper
- X-seq: zsh-users 2736
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Jens Schleusener <Jens.Schleusener@xxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Please help notorious "space"-mistyper
- Date: Sun, 14 Nov 1999 17:23:48 +0000
- In-reply-to: <Pine.A41.3.96.991114143719.83210A-100000@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <Pine.A41.3.96.991114143719.83210A-100000@xxxxxxxxxxxx>
On Nov 14, 2:52pm, Jens Schleusener wrote:
} Subject: Please help notorious "space"-mistyper
}
} [...] unfortunately nearly each second time I type (too fast)
}
} cddirectory
}
} instead of
}
} cd directory
}
} Can the power of zsh help me?
If you use
setopt autocd
then you can leave off the "cd" entirely and just type
directory
You could also try
bindkey -s 'cd' '^Vcd '
but then you may find yourself needing to erase an extra space in other
unexpected places, like in the middle of the word "anecdote" (not that
you're ever particularly likely to type "anecdote" in the shell).
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author