Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Starting ZSH with zle commands.
- X-seq: zsh-users 17877
- From: "Brotman, David" <brotmand@xxxxxxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: Starting ZSH with zle commands.
- Date: Mon, 15 Jul 2013 15:45:53 +0000
- Accept-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=brotmand@xxxxxxxxxx; q=dns/txt; s=amazon201209; t=1373903201; x=1405439201; h=from:to:subject:date:message-id:mime-version; bh=o1pHwEq89+6ubiY4eFRaSH51xH9SvwvhVMS0eMFylzc=; b=VzVYFG073cCkh9FNuF4W4k50ReAi21Nj9+d6syq/sBpBdLaXhZ6gbJ5y M1+pMCc5mML8qp3zIUP/oR9DnG2uXRDPFyViG3VDvbROoi1i6nxsmdEGj qequ1srFo0iGxjPfBq+YaN4n5dQNP/8MPLxotQy98UNAuR7czxYxnH8u0 E=;
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Thread-index: Ac6BcJcX2CFhw26hSKmaXQUqGBaxFg==
- Thread-topic: Starting ZSH with zle commands.
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author