X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshenv;h=4285f4f76f5c7ae0986d214629245d9e5b0587ec;hb=refs%2Ftags%2F0.3.50;hp=6fd51b03c02c4fe148c14e3aa33922322068d679;hpb=bd6fb996af3e45ef0d3b403965027dc2d708d5ff;p=grml-etc-core.git diff --git a/etc/zsh/zshenv b/etc/zsh/zshenv index 6fd51b0..4285f4f 100644 --- a/etc/zsh/zshenv +++ b/etc/zsh/zshenv @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Don Dez 06 23:21:08 CET 2007 [mika] +# Latest change: Sat Mar 22 00:37:25 CET 2008 [mika] ################################################################################ # This file is sourced on all invocations of the shell. # It is the 1st file zsh reads; it's read for every shell, @@ -58,7 +58,9 @@ if [[ -r /etc/gentoo-release ]] ; then else # support extra software in special directory outside of squashfs environment in live-cd mode if [[ -f /etc/grml_cd ]] ; then - [[ -d /cdrom/addons/ ]] && ADDONS=':/cdrom/addons/' + [[ -r /cdrom/addons ]] && ADDONS=':/cdrom/addons' + [[ -r /live/image/addons ]] && ADDONS=':/live/image/addons' + [[ -r /etc/grml/my_path ]] && ADDONS=":$(cat /etc/grml/my_path)" fi if (( EUID != 0 )); then