From d5472be6b3cc0ed058c0afc3c40c5d32b0e16fff Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sat, 22 Oct 2022 23:52:10 -0700 Subject: [PATCH] Swap bash-ism to fish-ism for enabling control-r --- client/lib/config.fish | 2 +- client/lib/test_config.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/lib/config.fish b/client/lib/config.fish index 3b93300..70afe74 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 7e770a7..e2e4611 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