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:
4
aliases
4
aliases
@ -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
|
||||
|
Reference in New Issue
Block a user