Swap bash-ism to fish-ism for enabling control-r

This commit is contained in:
David Dworken 2022-10-22 23:52:10 -07:00
parent c10dd8897c
commit d5472be6b3
2 changed files with 2 additions and 2 deletions

View File

@ -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
[ (hishtory config-get enable-control-r) = true ] && bind \cr __hishtory_on_control_r

View File

@ -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
[ (hishtory config-get enable-control-r) = true ] && bind \cr __hishtory_on_control_r