This will allow to open new terminal tabs in the same directory as the current terminal. Uses the fact that plugins are loaded after the selected theme. Themes often manipulate the $PROMPT_COMMAND variable. Implementation inspired by the pathmunge function.
Due to use of double-quotes ``docker ps`` was executed when the aliases were loaded and as a consequence ``dklcip`` would always show IP of a container that was last then instead of at runtime. This changes the alias to use single quotes which fixes that. It also changes the alias to use docker's ``--format`` option so there's no need of parsing the output using grep and cut.
…unge to be easier supported in the test