diff --git a/ranger.org b/ranger.org index 45f595e..3e733c2 100644 --- a/ranger.org +++ b/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