bash-it/aliases
con-f-use 7136604b57
Fix dependency of docker aliases on docker plugin
Some of the docker aliases use functions found in the docker plugin. If the plugin is not enabled, these aliases do not work. This commit only defines the aliases if the plugin is enabled.

Also changed: `dkelc` now creates an explicit login shell, has the synonym `dkbash` and uses no backticks. Reason: on some docker images the status as login-shell is not set automatically, which causes e.g. `/etc/bash.bashrc` and `/etc/profile` not to be loaded in these images.

Note: There should be a convenience function in `lib/helpers.bash` that checks if a plugin is available/enabled/disabled. The if-statement if rather clonky.
2018-12-10 15:03:10 +01:00
..
available Fix dependency of docker aliases on docker plugin 2018-12-10 15:03:10 +01:00