diff options
author | EuAndreh <eu@euandre.org> | 2022-10-25 00:16:18 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-10-25 00:16:18 -0300 |
commit | 5763cf89b4424ce9fa4c2e4dac2c2f18a29fd65a (patch) | |
tree | 331b3e7323b1fcfeb677013ab11d1fa18e426ad9 | |
parent | bin/cl: Grow "$@" at the beginning (diff) | |
download | dotfiles-5763cf89b4424ce9fa4c2e4dac2c2f18a29fd65a.tar.gz dotfiles-5763cf89b4424ce9fa4c2e4dac2c2f18a29fd65a.tar.xz |
bin/cl: Allow "--" to flow to underlying Lisp command
-rwxr-xr-x | bin/cl | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -176,7 +176,11 @@ while getopts 'e:f:pM:I:nvlh' flag; do ;; esac done -shift $((OPTIND - 1)) + +shift $((OPTIND - 2)) +if [ "$1" != '--' ]; then + shift +fi PRESERVE_ARGS=false INTERACTIVE=true |