From ca5c512a35b79676f4478251445650fc6fdac3a0 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Tue, 18 Dec 2018 09:26:25 +0100 Subject: [PATCH] Removed 'local' keyword --- plugins/available/percol.plugin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/available/percol.plugin.bash b/plugins/available/percol.plugin.bash index 27b98708..66610662 100644 --- a/plugins/available/percol.plugin.bash +++ b/plugins/available/percol.plugin.bash @@ -27,7 +27,7 @@ _replace_by_history() { if command -v percol>/dev/null; then - local current_version=${BASH_VERSION%%[^0-9]*} + current_version=${BASH_VERSION%%[^0-9]*} if [ $current_version -lt 4 ]; then echo -e "\033[91mWarning: You have to upgrade Bash to Bash v4.x to use the 'percol' plugin.\033[m" echo -e "\033[91m Your current Bash version is $BASH_VERSION.\033[m"