zsh-users
 help / color / mirror / code / Atom feed
From: DervishD <zsh@dervishd.net>
To: GoTaR <gotar@poczta.onet.pl>
Cc: zsh-users@sunsite.dk
Subject: Re: default pipe
Date: Mon, 25 Jul 2005 21:09:23 +0200	[thread overview]
Message-ID: <20050725190923.GB901@DervishD> (raw)
In-Reply-To: <20050725145737.GA903@os>

    Hi GoTaR :)

 * GoTaR <gotar@poczta.onet.pl> dixit:
> Is it possible somehow to set default pipe command? E.g.
> 
> $ ls | <enter>
> 
> to be executed as
> 
> $ ls | less <enter>

    Not exactly what you want, but I have my useless Windoze keys
mapped to that. When I hit my 'menu' key, "| less <enter>" is
automatically entered in the command line. Is very easy if you use
Linux: just add a string to the key you want to do the dirty job and
after that 'bindkey' that string to the command you want to be
automatically entered. That's all.

    If you use Linux and a Windoze keyboard, I can post you the
things you need to add to your keymap and zshenv/zshrc files.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...


      parent reply	other threads:[~2005-07-25 19:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-25 14:57 GoTaR
2005-07-25 17:28 ` Bart Schaefer
2005-07-25 21:41   ` GoTaR
2005-07-25 17:29 ` zzapper
2005-07-25 19:23   ` Wayne Davison
2005-07-25 19:35     ` zzapper
2005-07-26 13:16       ` Vincent Lefevre
2005-07-26 13:34         ` DervishD
2005-07-27 17:35     ` Oliver Kiddle
2005-07-27 18:42       ` Wayne Davison
2005-07-25 19:09 ` DervishD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050725190923.GB901@DervishD \
    --to=zsh@dervishd.net \
    --cc=gotar@poczta.onet.pl \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).