From 41cba9d7e40ae1bea969f997dca5bacaf94d1597 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Tue, 6 Apr 2021 02:06:31 +0300 Subject: [PATCH] helpers: Add enable-plugin and enable-alias aliases --- lib/helpers.bash | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/helpers.bash b/lib/helpers.bash index 5865c610..5f31a0fa 100755 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -650,6 +650,12 @@ _enable-plugin () _enable-thing "plugins" "plugin" $1 $BASH_IT_LOAD_PRIORITY_DEFAULT_PLUGIN } +_enable-plugins () +{ + _about 'alias of _enable-plugin' + _enable-plugin "$@" +} + _enable-alias () { _about 'enables bash_it alias' @@ -660,6 +666,12 @@ _enable-alias () _enable-thing "aliases" "alias" $1 $BASH_IT_LOAD_PRIORITY_DEFAULT_ALIAS } +_enable-aliases () +{ + _about 'alias of _enable-alias' + _enable-alias "$@" +} + _enable-completion () { _about 'enables bash_it completion'