aboutsummaryrefslogtreecommitdiff
path: root/bindings.bb
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-11-04 16:44:00 +0100
committerBruce Hill <bruce@bruce-hill.com>2019-11-04 16:44:00 +0100
commitad6e61be16f7a0548929eb863655840c6cedc68b (patch)
tree64f6e89245911ae03b0605f98e8458298a4b51a7 /bindings.bb
parent43432516292fb183d79b2b3e388eee4770b99eb9 (diff)
Fixed extra spacing with multi-line confirms.
Diffstat (limited to 'bindings.bb')
-rw-r--r--bindings.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings.bb b/bindings.bb
index 54040e4..e2de426 100644
--- a/bindings.bb
+++ b/bindings.bb
@@ -111,17 +111,17 @@ d,Delete: # Delete a file
printf "\033[1mDeleting \033[33m$BBCURSOR\033[0;1m...\033[0m " && confirm &&
rm -rf "$BBCURSOR" && bb +deselect:"$BBCURSOR" +refresh
D: # Delete all selected files
- [ $# -gt 0 ] && printf "\033[1mDeleting the following:\n \033[33m$(printf ' %s\n' "$@")\033[0m" | more &&
+ [ $# -gt 0 ] && printf "\033[1mDeleting the following:\n\033[33m$(printf ' %s\n' "$@")\033[0m" | more &&
confirm && rm -rf "$@" && bb +deselect +refresh
Ctrl-v: # Move files here
- printf "\033[1mMoving the following to here:\n \033[33m$(printf ' %s\n' "$@")\033[0m" | more &&
+ printf "\033[1mMoving the following to here:\n\033[33m$(printf ' %s\n' "$@")\033[0m" | more &&
confirm && mv -i "$@" . && bb +deselect +refresh &&
for f; do bb +sel:"$(basename "$f")"; done ||
pause
c: # Copy a file
printf "\033[1mCreating copy of \033[33m$BBCURSOR\033[0;1m...\033[0m " && confirm && cp -ri "$BBCURSOR" "$BBCURSOR.copy" && bb +refresh
C: # Copy all selected files here
- [ $# -gt 0 ] && printf "\033[1mCopying the following to here:\n \033[33m$(printf ' %s\n' "$@")\033[0m" | more &&
+ [ $# -gt 0 ] && printf "\033[1mCopying the following to here:\n\033[33m$(printf ' %s\n' "$@")\033[0m" | more &&
confirm &&
for f; do if [ "./$(basename "$f")" -ef "$f" ]; then
cp -ri "$f" "$f.copy" || break;