From 38bb8c087c99dacba29db85a87fbc1f0426c08f3 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Thu, 7 May 2020 08:57:37 +0200 Subject: [PATCH] Reworded the text for the general/bash-it alias loading Also fixed a ShellCheck warning. See #1560 for more details. --- aliases/available/bash-it.aliases.bash | 3 +-- aliases/available/general.aliases.bash | 11 +++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/aliases/available/bash-it.aliases.bash b/aliases/available/bash-it.aliases.bash index 2461e830..d2975667 100644 --- a/aliases/available/bash-it.aliases.bash +++ b/aliases/available/bash-it.aliases.bash @@ -1,5 +1,5 @@ cite about-alias -about-alias 'Aliases for the bash-it command (those aliases are also included with general aliases)' +about-alias 'Aliases for the bash-it command (these aliases are automatically included with the "general" aliases)' # Common misspellings of bash-it alias shit='bash-it' @@ -21,4 +21,3 @@ alias bshsch="bash-it search" alias bshenp="bash-it enable plugin" alias bshena="bash-it enable alias" alias bshenc="bash-it enable completion" - diff --git a/aliases/available/general.aliases.bash b/aliases/available/general.aliases.bash index d628e71d..7e6f79cb 100644 --- a/aliases/available/general.aliases.bash +++ b/aliases/available/general.aliases.bash @@ -93,8 +93,11 @@ catt() { done } -# The bash-it aliases was move to bash-it.aliases.bash file. The intent of this -# is to maintain the script readable and less bloated. If you don't need to use -# those aliases, but you want the bash-it shortcuts, you can disable this -# script and enable the bash-it. +# The Bash-it aliases were moved to the `bash-it.aliases.bash` file. The intent of this +# is to keep the script readable and less bloated. If you don't need to use +# the `general` aliases, but you want the Bash-it aliases, you can disable the `general` +# aliases and enable just the ones for Bash-it explicitly: +# bash-it disable alias general +# bash-it enable alias bash-it +# shellcheck source=./bash-it.aliases.bash source "$BASH_IT/aliases/available/bash-it.aliases.bash"