[gobolinux-users] Re: [gobo-l] ZSH and rox?
lijon at kymatica.com
Wed Nov 3 23:56:31 GMT 2004
On Wed, 03 Nov 2004 12:42:17 -0600
Bill Burdick <bill at mobilereasoning.com> wrote:
> Sorry. What about symlinking ".../AppRun" as "~/.appdir_cache/app"
> instead of using hash. Kind of like /System/Links/Executables.
And add ~/.appdir_cache to PATH?
That doesn't work, as the AppRun scripts often needs to know where the
rest of the appdir is, which they most often do by "dirname $0", which
doesn't work for symlinks. I'd have to add a readlink -f in all AppRun
scripts for it to work. Anyhow, the hash stuff is fast and works very
> Jonatan Liljedahl wrote:
> >On Tue, 26 Oct 2004 12:56:06 -0500
> >Bill Burdick <bill at mobilereasoning.com> wrote:
> >>Why not just put ~/.appdir_cache in $PATH and let zsh cache it like
> >it>does normally. Then when you install/move programs, you just run
> >>~/bin/update-appdir-cache and use zsh like your normally would
> >>(running rehash if you need to).
> >What do you mean by putting .appdir_cache in $PATH?
> >I can't put all appdirs in the PATH becouse they must be run as
> >$APPDIR/AppRun... (And I just want to enter their directory name) Or
> >did I missunderstand you?
/Jonatan -=( http://kymatica.com )=-
More information about the Gobolinux-users