diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-11-04 02:34:08 +0100 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-11-04 02:34:08 +0100 |
| commit | 1f4122d8d5a7a08029329e80143cb06a16298881 (patch) | |
| tree | fc7dfd2ed0f649d3553e6d32ce92bf96b2b03a52 /bindings.bb | |
| parent | b4c23f240912017a8cfac36a29f165fbdad56f7f (diff) | |
Fixed shell scripting issue that had problems with "$((foo) | baz)" due
to double parentheses.
Diffstat (limited to 'bindings.bb')
| -rw-r--r-- | bindings.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
