diff --git a/client/lib/config.fish b/client/lib/config.fish index 07d508d..3b93300 100644 --- a/client/lib/config.fish +++ b/client/lib/config.fish @@ -29,4 +29,4 @@ function __hishtory_on_control_r rm -f $tmp end -[ "$(hishtory config-get enable-control-r)" = true ] && bind \cr __hishtory_on_control_r \ No newline at end of file +[ $(hishtory config-get enable-control-r) = true ] && bind \cr __hishtory_on_control_r \ No newline at end of file diff --git a/client/lib/test_config.fish b/client/lib/test_config.fish index b95cf0d..7e770a7 100644 --- a/client/lib/test_config.fish +++ b/client/lib/test_config.fish @@ -29,4 +29,4 @@ function __hishtory_on_control_r rm -f $tmp end -[ "$(hishtory config-get enable-control-r)" = true ] && bind \cr __hishtory_on_control_r \ No newline at end of file +[ $(hishtory config-get enable-control-r) = true ] && bind \cr __hishtory_on_control_r \ No newline at end of file