Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: up-arrow for history 'broken' after ssh
- X-seq: zsh-users 25010
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: TJ Luoma <luomat@xxxxxxxxx>
- Subject: Re: up-arrow for history 'broken' after ssh
- Date: Tue, 28 Jul 2020 17:48:55 -0700
- Cc: Zsh MailingList <zsh-users@xxxxxxx>
- In-reply-to: <CAN=4vMqkgmwqgH5+4rArHdUfnqvsaKYG+cOHEptexF_WcoXg0w@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CADjGqHucU=rxFupWKgUThSRHYQu-kTDGY6ANcWZe0fePCaCh4g@mail.gmail.com> <CAN=4vMqkgmwqgH5+4rArHdUfnqvsaKYG+cOHEptexF_WcoXg0w@mail.gmail.com>
- Sender: zsh-users@xxxxxxx
On Tue, Jul 28, 2020 at 10:43 AM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> On Tue, Jul 28, 2020 at 2:39 PM TJ Luoma <luomat@xxxxxxxxx> wrote:
> >
> > However, when I ssh from my Mac to a Linux machine [...]
> > and then exit ssh, my 'up arrow' goes back one at a time
>
> There are several ways to fix this.
4. (Assumes ssh starts a login shell) Change terminal mode back to raw
in ~/.zlogout on the remote machine
5. Create a script to set as the ProxyCommand in your .ssh/config that
resets the terminal mode after ssh exits
Messages sorted by:
Reverse Date,
Date,
Thread,
Author