bash_aliases: cygwin "cs" function: launch file from its own directory
This commit is contained in:
1 parent
332dad74be
commit
5b2b188489
1 file changed
+1
-1
+1
-1
@@ -156,7 +156,7 @@ if [ -e /bin/cygwin1.dll ]; then
|
|||||||
{
|
{
|
||||||
while [ "$1" != "" ]
|
while [ "$1" != "" ]
|
||||||
do
|
do
|
||||||
HOME='' cygstart "$1"
|
(cd $(dirname "$1"); HOME='' cygstart $(basename "$1"))
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user