zsh-users
 help / color / mirror / code / Atom feed
From: "Brotman, David" <brotmand@amazon.com>
To: "zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Starting ZSH with zle commands.
Date: Mon, 15 Jul 2013 15:45:53 +0000	[thread overview]
Message-ID: <FC331BFC5AF8444EB63B4DD142FAA39C0FF218D3@ex10-mbx-31004.ant.amazon.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

I'm in the situation that I may be logging into one of a thousands hosts once, and never again, many times a day.
I want to be able to  use bindkeys to automatically fix some mappings.
I've used this to some effect, but bindkeys don't seem to stick.
%/usr/bin/ssh -2 -x -t $host "$cmd"

Even once on the host, starting zsh with a bindkey command doesn't leave me a in a shell with that key binding.
zsh -c 'bindkey | grep beginning-of-line'
%bindkey | grep beginning-of-line
%

and when I try it this way it doesn't work either
%  "bindkey '^[[1~' beginning-of-line" zsh -Ziy0
zsh: command not found: bindkey '^[[1~' beginning-of-line

Anyone have a suggestion?
--
David Brotman
Digital Support Engineer


                 reply	other threads:[~2013-07-15 15:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=FC331BFC5AF8444EB63B4DD142FAA39C0FF218D3@ex10-mbx-31004.ant.amazon.com \
    --to=brotmand@amazon.com \
    --cc=zsh-users@zsh.org \
    /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).