diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-11-11 12:48:37 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-11-11 12:48:37 -0800 |
| commit | dbd558f6e2caac58e147cff8371a7d6f5700b39e (patch) | |
| tree | 5da7e82af32180250f3f2f35e07257cd3dd5a250 | |
| parent | e96004d50e96f53151ec0d99e3ae47c775c05376 (diff) | |
Fix for creating files/dirs with "--"
| -rw-r--r-- | bindings.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings.bb b/bindings.bb index 42b8e25..7cc60a5 100644 --- a/bindings.bb +++ b/bindings.bb @@ -137,11 +137,11 @@ Ctrl-n: # New file/directory case "$(printf '%s\0' File Directory | pick "Create new: ")" in File) ask name "New File: " || exit - touch "$name" + touch -- "$name" ;; Directory) ask name "New Directory: " || exit - mkdir "$name" + mkdir -- "$name" ;; *) exit ;; |
