From 1f4122d8d5a7a08029329e80143cb06a16298881 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 4 Nov 2019 02:34:08 +0100 Subject: Fixed shell scripting issue that had problems with "$((foo) | baz)" due to double parentheses. --- bindings.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings.bb b/bindings.bb index 226446f..ee0cbaf 100644 --- a/bindings.bb +++ b/bindings.bb @@ -29,7 +29,7 @@ Ctrl-f: # Search for file fi | pick "Find: " )" && bb +goto:"$file" /: # Pick a file - file="$((printf '%s\0' *; [ $BBDOTFILES ] && printf '%s\0' .[!.]* ..?*) | pick "Pick: ")" && + file="$( (printf '%s\0' *; [ $BBDOTFILES ] && printf '%s\0' .[!.]* ..?*) | pick "Pick: ")" && bb +goto:"$file" Ctrl-g: # Go to directory ask goto "Go to directory: " && bb +cd:"$goto" -- cgit v1.2.3