1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Fix _dsh support for short options

This commit is contained in:
Joe Groocock 2017-08-27 16:37:45 +01:00
parent c4623a8622
commit 001a0f23ec
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -171,6 +171,10 @@ _dsh() {
shift
while [ "${1:0:1}" = '-' ]; do
if [ "${1:0:2}" != '--' ]; then
docker_args+=("$1")
shift
fi
docker_args+=("$1")
shift
done