jesseduffield/lazydocker

sh / bash / zsh?

benzkji opened this issue · 3 comments

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...?

Currently it's hardcoded as /bin/sh, so your only choice is a custom command, or compiling lazydocker from source :)

but it would be no big deal making it configurable, no? Will think about a PR :-)