From: Tom H. <tom...@sa...> - 2014-09-22 08:12:21
|
I think ~/.applications/bin is better. Then applications can go into ~/.applications/packages/PKG (or whatever) and everything remains clean. I hate it when visible directories are added to my home dir... -- Tom. On 20/09/14 16:38, Carsten Haitzler wrote: > raster pushed a commit to branch master. > > http://git.enlightenment.org/core/enlightenment.git/commit/?id=9391d261ba555dbdb828b549ec719ab5e3b0b785 > > commit 9391d261ba555dbdb828b549ec719ab5e3b0b785 > Author: Carsten Haitzler (Rasterman) <ra...@ra...> > Date: Sun Sep 21 00:08:29 2014 +0900 > > e_start - add ~/Applications/.bin to use for app bin searches > > this is here to help for user installed apps > --- > src/bin/e_start_main.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c > index fa3c054..571477f 100644 > --- a/src/bin/e_start_main.c > +++ b/src/bin/e_start_main.c > @@ -379,10 +379,8 @@ main(int argc, char **argv) > really_know = EINA_TRUE; > } > > - if (really_know) > - _env_path_append("PATH", eina_prefix_bin_get(pfx)); > - else > - _env_path_prepend("PATH", eina_prefix_bin_get(pfx)); > + if (really_know) _env_path_append("PATH", eina_prefix_bin_get(pfx)); > + else _env_path_prepend("PATH", eina_prefix_bin_get(pfx)); > > if (valgrind_mode || valgrind_tool) > { > @@ -406,6 +404,7 @@ main(int argc, char **argv) > if (home) > { > FILE *f; > + const char *tmps; > > /* if you have ~/.e-mtrack, then the tracker will be enabled > * using the content of this file as the path to the mtrack.so > @@ -430,6 +429,11 @@ main(int argc, char **argv) > } > fclose(f); > } > + tmps = getenv("XDG_DATA_HOME"); > + if (tmps) snprintf(buf, sizeof(buf), "%s/Applications/.bin", tmps); > + else snprintf(buf, sizeof(buf), "%s/Applications/.bin", home); > + if (really_know) _env_path_append("PATH", buf); > + else _env_path_prepend("PATH", buf); > } > > /* run e directly now */ > |