Quote filenames
This commit is contained in:
parent
859774b005
commit
116e5b13ec
10
ranger.org
10
ranger.org
@ -238,9 +238,9 @@ map ,y shell ~/.config/ranger/scripts/copy-content.sh %s &
|
||||
:END:
|
||||
#+begin_src bash
|
||||
if [ $TMUX ]; then
|
||||
tmux split -v -l 2 atool -x $1 && tmux select-pane -U
|
||||
tmux split -v -l 2 atool -x "$1" && tmux select-pane -U
|
||||
else
|
||||
atool -x $1
|
||||
atool -x "$1"
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
@ -252,9 +252,9 @@ fi
|
||||
:END:
|
||||
#+begin_src bash
|
||||
if [ $TMUX ]; then
|
||||
tmux split -v -l 2 apack ${1%.*}.zip $1 && tmux select-pane -U
|
||||
tmux split -v -l 2 apack "${1%.*}.zip" "$1" && tmux select-pane -U
|
||||
else
|
||||
apack ${1%.*}.zip $1
|
||||
apack "${1%.*}.zip" "$1"
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
@ -266,7 +266,7 @@ fi
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
#+begin_src bash
|
||||
xclip -sel c < $1 && dunstify "Ranger" "Copied to clipboard"
|
||||
xclip -sel c < "$1" && dunstify "Ranger" "Copied to clipboard"
|
||||
#+end_src
|
||||
|
||||
*** TODO [#B] Backup to NAS
|
||||
|
Loading…
Reference in New Issue
Block a user