Menu

#46 Startup path in memoranda.sh

open
nobody
None
5
2007-08-23
2007-08-23
dmaz
No

I have found it useful to add the following to memoranda.sh so that shortcuts to memoranda.sh may be easily created.

path="`dirname \"${0}\"`"
link="`readlink \"${0}\"`"

[ -n "${link}" ] && path="`dirname \"${link}\"`"
cd "${path}"

Discussion


Log in to post a comment.