Add quotes when needed

This commit is contained in:
Thomas Dehaeze 2020-11-03 11:41:18 +01:00
parent ab901b1e70
commit 0b921c4313

View File

@ -231,9 +231,10 @@ Open SXIV on current directory
map ,s shell nohup sxiv -t %d &
#+END_SRC
Upload with 0x0 (previously Tansfer.sh)
Upload with 0x0 / self hosted Tansfer.sh
#+BEGIN_SRC conf
map ,t shell upload %f
map ,T shell share %f
#+END_SRC
Open current folder with PCManFM
@ -315,9 +316,9 @@ Backup to NAS
#+begin_src bash
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
rsync -a --info=progress2 ${@:2} $1
rsync -a --info=progress2 "${@:2}" "$1"
fi
#+end_src