Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
pushing a string in the cut&paste stack
- X-seq: zsh-users 11401
- From: "Giulio Bottazzi" <giulio.bottazzi@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: pushing a string in the cut&paste stack
- Date: Mon, 16 Apr 2007 14:30:14 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YN5/je/KOy5MVt0Ibs56N80hZG+DBoMh9wcmqTTqSyhDMEXgB7uR9oQv1E5Ovb/iEm6fx7Yb3mL+yC/b1sO4JlMlBthiHTAmvWmzZ2oFq+/sxZc3F7dQbzeKcM/iuTjSfhzyCJC6JXzXVwmlguXo78CWm3zz+zhp7PAFjgjTWSM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DcFALTXjJLpg1VO+nwSw4Lyo95MDGpfyuovTfyKSFun8izBnpqefxP38MSUGFLpLkKrLb4BaaxxU80vh/+YxkSbZA83KWs6CdRwaw4lkDD56v+/wDqASjSWKn89en3D53eFXFeAlKi96cze7xcNKicI9VAlNrxh4T6GbrlpqQh8=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
I would like to know how can I push a string in the cut&paste stack of
zle. In practice, I would like to have a shell function, name it
"copythis", such that
copythis "blabla"
will insert the string "blabla" in the stack, so that can later
recover it using the ctrl-y/alt-y mechanism (emacs key map). In other
terms, I would like to have something like print -s BUT that insert
its argument in the cut&paste stack rather then in the histoty.
Any suggestion?
Many thanks,
Giulio.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author