Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Portable rootless ZSH



On Wed, 2019-10-09 at 20:07 +0000, Coden wrote:
> /root/.oh-my-zsh/oh-my-zsh.sh:69: compinit: function definition file not found
> /root/.oh-my-zsh/lib/theme-and-appearance.zsh:2: colors: function definition file not found

OK, so assuming the static linking is all set up (it's certainly doable
but not necessarily trivial as it's not all that common these days),
you're now faced with making shell functions available.  These can live
anywhere --- nothing here needs to be set up as root --- but obviously
you need to put them somewhere, and then tell the shell where you've put
them.  The directories are given by fpath (array) and FPATH
(collon-separated values for putting into the environment).  You can
look at the existing values for an idea of where everything is on the
system you're starting from.  Probably you'll be configuring the
directories in ~/.zshenv in the target system.

pws


Messages sorted by: Reverse Date, Date, Thread, Author