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:
|
:END:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
if [ $TMUX ]; then
|
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
|
else
|
||||||
atool -x $1
|
atool -x "$1"
|
||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@ -252,9 +252,9 @@ fi
|
|||||||
:END:
|
:END:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
if [ $TMUX ]; then
|
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
|
else
|
||||||
apack ${1%.*}.zip $1
|
apack "${1%.*}.zip" "$1"
|
||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@ -266,7 +266,7 @@ fi
|
|||||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||||
:END:
|
:END:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
xclip -sel c < $1 && dunstify "Ranger" "Copied to clipboard"
|
xclip -sel c < "$1" && dunstify "Ranger" "Copied to clipboard"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** TODO [#B] Backup to NAS
|
*** TODO [#B] Backup to NAS
|
||||||
|
Loading…
Reference in New Issue
Block a user