Code: Select all
# Textpad function
# Pass in a UNIX path
# Starts textpad given a UNIX path argument
function textpad() {
local textpadUnixPath="/cygdrive/c/Program Files/TextPad 5/TextPad.exe"
local textpadArgPath=`cygpath -w -a "$*"`
"$textpadUnixPath" "$textpadArgPath" &
}