Skip to content

Instantly share code, notes, and snippets.

@benjaminoakes
Created January 10, 2017 21:04
Show Gist options
  • Save benjaminoakes/103a65c35f4d46acc8ec18aa0efad614 to your computer and use it in GitHub Desktop.
Save benjaminoakes/103a65c35f4d46acc8ec18aa0efad614 to your computer and use it in GitHub Desktop.
Docker: use readline vi mode
# Set up dotfiles. (It would be amazing if there were an environment variable for this instead!)
RUN printf "set editing-mode vi\nset keymap vi" > ~/.inputrc
RUN printf "bind -v" > ~/.editrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment