* Starting ZSH with zle commands.
@ 2013-07-15 15:45 Brotman, David
0 siblings, 0 replies; only message in thread
From: Brotman, David @ 2013-07-15 15:45 UTC (permalink / raw)
To: zsh-users
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-15 15:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 15:45 Starting ZSH with zle commands Brotman, David
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).