Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Portable rootless ZSH
- X-seq: zsh-workers 44824
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Portable rootless ZSH
- Date: Fri, 11 Oct 2019 13:11:25 +0000
- Accept-language: en-GB, en-US
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20191011131127euoutp013138da06f32583243022a225174c1734~Mmc_yOqJR2413424134euoutp01g
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1570799487; bh=K9xhkzV86KOBlnDJCUOyjuGY+8xnXVAPOUJUBoFx954=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GlBrZDNkXN7XZ7pBMvftyHHtMLwrLaWhsN6NsAElFMVOXcm1+cHTcVRb89zGB8CR8 YOTGNWfh6wJplhfg+NoE0ATxHyGYWlxtBweLC/S++u7+n2I86l8SFUQX6OoOJ7QnXF bTsNddHT/Xcv0UVqj00N4nHNYCg8zO97U0YcR2UA=
- In-reply-to: <TDwB1Iqe7IWM9v3ll1xTQHtjYH-dEp5OMRUBA341L7O4rccNO-nh6lUSKnXV-6HKFJ4yUlkmfrPeVBqNMxdr6_pIYXR6z40GWl3r3-S_QlM=@protonmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <X8SiYN2toMZ5PPVZksUCEHWuP_LQiWjl_7pgD9MKXK3U7uS1TRvB1SjBAiZChh_o1t-wZg_wZI-OsnJ_GAKbf_VSFaZ7DrIySgPQbd9kYp0=@protonmail.com> <20191008204722.GU6761@ming.fruitbat.org> <CGME20191009200905epcas3p3a8fd7e44bbea012dd33c417d2ec15441@epcas3p3.samsung.com> <TDwB1Iqe7IWM9v3ll1xTQHtjYH-dEp5OMRUBA341L7O4rccNO-nh6lUSKnXV-6HKFJ4yUlkmfrPeVBqNMxdr6_pIYXR6z40GWl3r3-S_QlM=@protonmail.com>
- Thread-index: AQHVgDVih2luNWeUOkmtm+R+ypNBxA==
- Thread-topic: 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