Add quotes when needed

This commit is contained in:
Thomas Dehaeze 2020-11-03 11:41:18 +01:00
parent a42fa4c652
commit 8d5ec26992

View File

@ -231,9 +231,10 @@ Open SXIV on current directory
map ,s shell nohup sxiv -t %d & map ,s shell nohup sxiv -t %d &
#+END_SRC #+END_SRC
Upload with 0x0 (previously Tansfer.sh) Upload with 0x0 / self hosted Tansfer.sh
#+BEGIN_SRC conf #+BEGIN_SRC conf
map ,t shell upload %f map ,t shell upload %f
map ,T shell share %f
#+END_SRC #+END_SRC
Open current folder with PCManFM Open current folder with PCManFM
@ -315,9 +316,9 @@ Backup to NAS
#+begin_src bash #+begin_src bash
if [ $TMUX ]; then if [ $TMUX ]; then
tmux split -v -l 1 rsync -a --info=progress2 ${@:2} $1 && tmux select-pane -U tmux split -v -l 1 rsync -a --info=progress2 "${@:2}" "$1" && tmux select-pane -U
else else
rsync -a --info=progress2 ${@:2} $1 rsync -a --info=progress2 "${@:2}" "$1"
fi fi
#+end_src #+end_src