jesseduffield / jesseduffield/lazydocker

sh / bash / zsh?

Open
#457 7 comments 1 reaction 0 assignees View on GitHub
discussion
Dominant language
Go
Stars
52.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I just started using lazydocker, and really like the `E` shortcut.

As far as I can tell, this executes `/bin/sh`. A keypress of the arrow up then produces a `^[[A` (on my system: ubuntu, german/swiss keyboard layout) . I don't know enough about shells to tell where this is coming from exactly...but, executing `/bin/bash` as first command resolves the arrow up problem. I guess that not all containers provide `bash`, so `sh` is the sane default?

Point: I was looking for a configuration option, to tell lazydocker whicht shell to use when pressing `E`. I know I could achieve the same with custom commands, but it would be a keypress more, every time ;-) Also, I might be missing something in the docs...?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.