On 2007-12-20 Peter Stephenson wrote:
> Micah Elliott wrote:
> > I'm used to being able to say 'fg -' in bash. It's very
> > quick to type. In zsh I appear to have to say 'fg %-'. But
> > that's extremely tedious for me in comparison. Is there a
> > way to get 'fg -' to work in zsh?
>
> fg() {
> if [[ $# -eq 1 && $1 = - ]]; then
> fg %-
> else
> builtin fg "$@"
> fi
> }
Lovely. Added to my .zshrc.
Which brings up a silly question. Do you guys actually pronounce
that as "Z-shark"? Or is maybe "Zish-Rick" more common? :-) And
I assume you call zsh "Zish".
--
_ _ ___
|V|icah |- lliott
" " """
mde@xxxxxxxxxxxxxxxx <>< http://MicahElliott.com
PGP: 0x7C07CBF0 ICQ: 369060435 Linux/Ubuntu: 417195/12440
HackerKey: v4sw6YUPCJhw5ln5pr7OPck2ma9u8Lw3m5l6Ui2e7t3b8LDMOen6a3XsMRr5
Attachment:
signature.asc
Description: Digital signature