Zsh Mailing List Archive
Messages sorted by:
Re: Portable rootless ZSH
- X-seq: zsh-workers 44823
- From: Coden <codenb@xxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Portable rootless ZSH
- Date: Fri, 11 Oct 2019 11:54:04 +0000
- Cc: "Peter A. Castro" <doctor@xxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570794845; bh=VCdhfOK1nIZqgKYBZaApWJMwZPvkjvmBW7CwQNvlzaA=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=mw9FZf+RrMKaQfCFR41WU6uPtO7uwdM0Mp3HQMqkWTz+KN82+BD4eAVdwUcodUFFa H9uzfniMM8BB4GBmtku5LiVZd2q5fCsR49s07Zn+6MSCcc+4hqQnJTugJJHYMjnwTh D8lnOZug72CNSUYmwWP8PGQ0g1iv1nApAY6t+iRc=
- Feedback-id: 1g_EZM5cadEHcIg82x2qZXWXT-U_XXBlI7kN837NwaZpram7G2oom_E1e2DIYhFQFmC50rpRJhWFHjVSm_Y7-w==:Ext:ProtonMail
- In-reply-to: <TDwB1Iqe7IWM9v3ll1xTQHtjYH-dEp5OMRUBA341L7O4rccNO-nh6lUSKnXV-6HKFJ4yUlkmfrPeVBqNMxdr6_pIYXR6z40GWl3r3-S_QlMfirstname.lastname@example.org>
- List-help: <mailto:email@example.com>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- List-unsubscribe: <mailto:email@example.com>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <X8SiYN2toMZ5PPVZksUCEHWuP_LQiWjl_7pgD9MKXK3U7uS1TRvB1SjBAiZChh_o1t-wZg_wZI-OsnJ_GAKbf_VSFaZ7DrIySgPQbd9kYp0firstname.lastname@example.org> <20191008204722.GU6761@ming.fruitbat.org> <TDwB1Iqe7IWM9v3ll1xTQHtjYH-dEp5OMRUBA341L7O4rccNO-nh6lUSKnXV-6HKFJ4yUlkmfrPeVBqNMxdr6_pIYXR6z40GWl3r3-S_QlMemail@example.com>
- Reply-to: Coden <codenb@xxxxxxxxxxxxxx>
I've tried to resolve the errors but have no result.
Do you have any thoughts or plans to make ZSH portable rootless?
Bash is widely spreaded in the default installations. Instead of try to install zsh on every system I want to use zsh binary (packed in AppImage for example). I want to just upload it and run.
It could looks like:
scp ./zsh host:~/ && ssh host -t "~/zsh"
And you're in without using bash!
If I should install zsh with root access on every system where I'm going it is a pice of hell.
If portable rootless zsh is not in your plans and not so interesting it's very sad and short-sighted I think.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, October 9, 2019 11:07 PM, Coden <codenb@xxxxxxxxxxxxxx> wrote:
> Peter, thank you for the fast response!
> I faced with this:
> 1. Build ./configure --disable-dynamic --disable-gdbm && make
> 2. Run ./Src/zsh
> (I already have zsh so I have home dir with .zshrc and oh-my-zsh and $ZDOTDIR is /root)
> /root/.oh-my-zsh/oh-my-zsh.sh:69: compinit: function definition file not found
> /root/.oh-my-zsh/lib/directories.zsh:32: command not found: compdef
> /root/.oh-my-zsh/lib/theme-and-appearance.zsh:2: colors: function definition file not found
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:19: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:89: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:104: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:109: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:119: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:129: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:138: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:144: command not found: compdef
> /root/.oh-my-zsh/plugins/git/git.plugin.zsh:229: is-at-least: function definition file not found
> /root/.oh-my-zsh/custom/themes/powerlevel10k/internal/p10k.zsh:1: is-at-least: function definition file not found
> 3. As result I've got zsh prompt without any theme.
> It looks like something went wrong. Are these errors related with build?
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, October 8, 2019 11:47 PM, Peter A. Castro doctor@xxxxxxxxxxxx wrote:
> > On Tue, Oct 08, 2019 at 06:44:10PM +0000, Coden wrote:
> > > Hello!
> > Greetings, Coden,
> > > I've tried to create portable version zsh along with couple tools which I can run without installation and root access. I've tried build zsh with brew or conda and packaging with modern AppImage but every time I faced with static library paths inside zsh binary.
> > > There is no way to plase zsh in any directory and run. Is it right? Could anyone from zsh maintainers help me?
> > > My last try to pack zsh to AppImage was described here - https://discourse.appimage.org/t/shell-with-tools-in-appimage/1455/5 . You can find case description. AppImage maintainer recommend me to ask you about the ability to packaging zsh with flexible paths.
> > I know nothing about AppImage, but looking at what you posted there, it
> > seems like the problem is the plethora of zsh modules, though only zle
> > is implicated at the moment.
> > Configure for zsh has options to disable module generation:
> > --disable-dynamic
> > Have you tried running configure with that?
> > You may lose some functionality this way, though.
> > You may also find gdbm get's pulled in, which may also be a problem for
> > your environment, so disable that too:
> > --disable-gdbm
> > % ./configure --disable-dynamic --disable-gdbm
> > ...
> > zsh configuration
> > zsh version : 5.7.1
> > host operating system : x86_64-pc-linux-gnu
> > source code location : .
> > compiler : gcc
> > preprocessor flags :
> > executable compiler flags : -Wall -Wmissing-prototypes -O2
> > executable linker flags : -s
> > library flags : -lnsl -lncursesw -lrt -lm -lc
> > installation basename : zsh
> > binary install path : /usr/local/bin
> > man page install path : /usr/local/share/man
> > info install path : /usr/local/share/info
> > functions install path : /usr/local/share/zsh/5.7.1/functions
> > See config.modules for installed modules and functions.
> > If you look at config.modules you will see many modules are
> > "link=static", including zle.
> > You can run "./configure --help" to see what other options might be of
> > value to you.
> > Hope that is of some help. Good luck!
> > > Thanks for responses and advises!
> > --
> > --=> Peter A. Castro
> > Email: doctor at fruitbat dot org / Peter dot Castro at oracle dot com
> > "Cats are just autistic Dogs" -- Dr. Tony Attwood
Messages sorted by: