change winpath from an alias to an environment variable
This commit is contained in:
parent
2a9c242373
commit
628094554b
@ -283,7 +283,7 @@ if [[ -e /bin/cygwin1.dll ]]; then
|
|||||||
${winpython} "$@"
|
${winpython} "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
alias winpath="PATH=\"$(echo $PATH | sed -e 's/:/\n/g' | grep cygdrive | tr '\n' ':')\""
|
winpath="$(echo $PATH | sed -e 's/:/\n/g' | grep cygdrive | tr '\n' ':' | sed -e 's/:*$//')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# source any machine-local aliases
|
# source any machine-local aliases
|
||||||
|
Loading…
x
Reference in New Issue
Block a user