From 514d711a7fe074fff54e8295985e312bbb7a8109 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Mon, 11 May 2020 16:54:53 +0200 Subject: [PATCH] consistent messages --- scripts/reshctl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/reshctl.sh b/scripts/reshctl.sh index b4aadc0..a9bca77 100644 --- a/scripts/reshctl.sh +++ b/scripts/reshctl.sh @@ -32,7 +32,7 @@ __resh_nop() { __resh_bind_control_R() { if [ "${__RESH_control_R_bind_enabled-0}" != 0 ]; then - echo "Error: Can't enable Ctrl+R binding because it is already enabled!" + echo "RESH SEARCH app Ctrl+R binding is already enabled!" return 1 fi bindfunc --revert '\C-r' __resh_widget_control_R_compat @@ -55,7 +55,7 @@ __resh_bind_control_R() { __resh_unbind_arrows() { if [ "${__RESH_arrow_keys_bind_enabled-0}" != 1 ]; then - echo "Error: Can't disable arrow key bindings because they are not enabled!" + echo "RESH arrow key bindings are already disabled!" return 1 fi @@ -83,7 +83,7 @@ __resh_unbind_arrows() { __resh_unbind_control_R() { if [ "${__RESH_control_R_bind_enabled-0}" != 1 ]; then - echo "Error: Can't disable Ctrl+R binding because it is not enabled!" + echo "RESH SEARCH app Ctrl+R binding is already disabled!" return 1 fi if [ -z "${__RESH_bindfunc_revert_control_R_bind+x}" ]; then