bash_aliases: cs: properly handle args with spaces
This commit is contained in:
parent
c5f2d97217
commit
528597c48a
@ -156,7 +156,9 @@ if [ -e /bin/cygwin1.dll ]; then
|
||||
{
|
||||
while [ "$1" != "" ]
|
||||
do
|
||||
(cd $(dirname "$1"); HOME='' cygstart $(basename "$1"))
|
||||
dn=$(dirname "$1")
|
||||
bn=$(basename "$1")
|
||||
(cd "$dn"; HOME='' cygstart "$bn")
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user