Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support: zsh exiting after failed commands #269

Closed
b9Joker108 opened this issue Dec 23, 2024 · 16 comments
Closed

Support: zsh exiting after failed commands #269

b9Joker108 opened this issue Dec 23, 2024 · 16 comments
Labels
bug Broken or unexpected

Comments

@b9Joker108
Copy link

b9Joker108 commented Dec 23, 2024

Hi

I finally installed Dorothy in one of my environments. I contacted you quite some time ago about progressing a Dorothy install in my Termux host environment and integrating it with a number of other third-party dotfiles management projects that I have progressively implemented and adapted locally, making somewhat of a super-hybrid or motly-chimera. Due to a complex of factors, I have not yet implemented Dorothy in that environment, as I still intend to do, as integrating the other projects has taken quite some time and I kind of stalled with it, instead progressong and attending to other things.

Today, on whim, somewhat as a personal virtual Christmas present, I resolved to install Dorothy in one of my many proot chroots instead, so I may start to familiarise myself with a local implementation of the project. I installed Dorothy in the aarch64 Debian 12 'Bookworm' proot chroot that houses most of my coding and development environments and projects. Unfortunately, the install did not go without a hitch:

/home/hummingbird108
(bashate) ┌─[hummingbird108@localhost] - [~] - [2024-12-23 06:08:46]   
                                     
└─[0] bash -ic "$(curl -fsSL https://dorothy.bevry.me/install)"
# if your shell doesn't recognize any of the above syntax, run `bash -i` then try again                     
renamed '/home/hummingbird108/.zshrc' -> '/home/hummingbird108/.config/zsh/.zshrc'
Installing Dorothy into /home/hummingbird108/.local/share/dorothy from https://github.com/bevry/dorothy     
git clone --quiet --no-tags https://github.com/bevry/dorothy.git /home/hummingbird108/.local/share/dorothy
git checkout --quiet HEAD                                                                                   
┌  Install Dorothy  ┐                                                                                       
┌  Ensure required dependencies  ┐
Your sudo/root/login password is required to execute the command:                                           
< apt-get -qq update >
[sudo] password for hummingbird108:                                                                         
Error connecting: Could not connect: Connection refused
</ apt-get -qq update >[0]                                                                                  
└  Ensure required dependencies  ┘
This machine's hostname is currently generic [localhost], 
would you like to change it?   
ABORT              Terminated
root@localhost /home/hummingbird108/postgresql/main                                                         
☹  whoami
root                                                                                                        
root@localhost /home/hummingbird108/postgresql/main

☺  su hummingbird108                                                                                        
localhost% whoami
hummingbird108                                                                                              
localhost% source .zshrc
source: no such file or directory: .zshrc                                                                   

localhost% l

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:41:13 2024  .                                        

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  ..

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:49 2024  base                                     

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:30:09 2024  global

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_commit_ts                             
drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:27:08 2024  pg_dynshmem

.rw-------. hummingbird108 users 5.6 KB Mon Nov  4 10:26:46 2024  pg_hba.conf                              

.rw-------. hummingbird108 users 2.6 KB Mon Nov  4 10:26:46 2024  pg_ident.conf

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:32:08 2024  pg_logical                               

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_multixact

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_notify                                

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_replslot

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_serial                                

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_snapshots

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:27:08 2024  pg_stat                                  

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_stat_tmp

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:47 2024  pg_subtrans                              

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_tblspc

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  pg_twophase                              

.rw-------. hummingbird108 users   3 B  Mon Nov  4 10:26:46 2024  PG_VERSION                               

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:47 2024  pg_wal                                   

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:47 2024  pg_xact

.rw-------. hummingbird108 users  88 B  Mon Nov  4 10:26:46 2024  postgresql.auto.conf                    

.rw-------. hummingbird108 users  30 KB Mon Nov  4 10:26:46 2024  postgresql.conf

.rw-------. hummingbird108 users  89 B  Mon Nov  4 10:27:08 2024  postmaster.opts                          

.rw-------. hummingbird108 users 135 B  Mon Nov  4 10:27:08 2024  postmaster.pid

localhost% zz                                                                                               

zsh: command not found: zz

localhost% cd                                                                                               

localhost% l

drwxr-xr-x. hummingbird108 users 8.0 KB Mon Dec 23 06:08:55 2024  .                                        

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Dec  1 01:26:20 2024  ..                                       

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Nov 20 19:19:27 2024  .android                                 

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Dec 13 14:52:16 2024  .atuin                                   

.rw-r--r--. hummingbird108 users  14 KB Fri Dec 13 14:52:16 2024  .bash-preexec.sh                         

.rw-------. hummingbird108 users 1.9 KB Tue Dec 17 01:56:28 2024 󱆃 .bash_history

.rw-r--r--. hummingbird108 users 220 B  Sun Apr 23 21:23:26 2023 󱆃 .bash_logout                             

.rw-r--r--. hummingbird108 users 4.5 KB Tue Dec 17 02:45:52 2024 󱆃 .bashrc

drwx------. hummingbird108 users 4.0 KB Mon Dec 23 06:09:03 2024 󰃨 .cache                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Mon Dec 23 06:09:02 2024  .cargo

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Nov  6 03:28:13 2024  .codeium                                 

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Dec  6 18:57:18 2024  .conda                                   

drwx------. hummingbird108 users 4.0 KB Mon Dec 23 06:08:55 2024  .config                                  

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 30 09:09:11 2024  .cpanm                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Dec 15 19:03:28 2024  .crawl4ai                                

drwx------. hummingbird108 users 3.4 KB Sun Nov 24 23:51:14 2024  .dbus

.rw-------. hummingbird108 users  13 KB Tue Feb 27 14:05:21 2024  .fancybash.sh                            

drwx------. hummingbird108 users 3.4 KB Wed Dec  4 15:22:57 2024  .fltk

lrwxrwxrwx. hummingbird108 users  39 B  Fri Nov 15 06:51:54 2024  .fonts ⇒ /home/hummingbird108/.local/share/fonts

.rw-r--r--. hummingbird108 users 111 B  Thu Dec  5 10:26:19 2024  .fonts.conf                              

.rwxr-xr-x. hummingbird108 users 268 B  Wed Nov 27 06:30:51 2024  .fx-completion.zsh                       

.rw-r--r--. hummingbird108 users 163 B  Sat Nov 23 06:41:57 2024  .fzf.bash                                

.rw-r--r--. hummingbird108 users 162 B  Sat Nov 23 06:41:57 2024  .fzf.zsh

.rw-r--r--. hummingbird108 users  83 B  Thu Dec  5 15:25:46 2024  .gitattributes                           

.rw-r--r--. hummingbird108 users 358 B  Tue Dec  3 20:48:50 2024  .gitconfig                               

.rw-r--r--. hummingbird108 users  66 B  Thu Dec  5 15:25:46 2024  .gitignore                               

drwx------. hummingbird108 users 3.4 KB Sun Nov 24 23:51:15 2024 󰢬 .gnupg                                   

.rw-r--r--. hummingbird108 users 266 B  Thu Dec  5 10:28:04 2024  .gtkrc-2.0                               

.rw-------. hummingbird108 users  17 KB Tue Dec 17 04:51:12 2024  .ICEauthority

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Dec 12 02:48:05 2024  .ipython                                 

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 18 02:52:43 2024  .java                                    

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Dec 14 15:13:15 2024  .jupyter                                 

.rw-------. hummingbird108 users  81 B  Mon Dec 23 03:10:00 2024  .lesshst                                 

drwxr-x---. hummingbird108 users 3.4 KB Thu Dec  5 13:58:09 2024  .lldb                                    

drwx------. hummingbird108 users 3.4 KB Thu Dec  5 15:19:26 2024  .local                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 23 14:17:29 2024  .luarocks                                

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Dec  5 16:27:14 2024  .magic                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Dec  6 17:33:04 2024  .mamba                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Dec  5 14:10:10 2024  .modular                                 

drwx------. hummingbird108 users 3.4 KB Thu Nov 28 16:16:34 2024  .mozilla                                 

drwxr-xr-x. hummingbird108 users 3.4 KB Mon Dec 16 07:52:51 2024  .n8n                                     

.rw-------. hummingbird108 users 541 B  Thu Dec 19 04:57:41 2024  .node_repl_history                       

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec  3 19:22:48 2024  .npm                                     

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec  4 08:46:52 2024  .nvm                                     

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Dec 22 04:54:50 2024  .oh-my-zsh                               

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 23 20:45:25 2024  .ollama                                  

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Dec 22 04:13:31 2024  .pex                                     

drwx------. hummingbird108 users 3.4 KB Sun Nov 24 23:51:29 2024  .pki                                     

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 18 23:31:15 2024  .prettierd                               

.rw-r--r--. hummingbird108 users 854 B  Fri Dec 13 14:52:16 2024  .profile                                 

.rw-------. hummingbird108 users 1.1 KB Tue Dec 17 22:23:30 2024  .psql_history                            

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec  3 00:16:38 2024  .pyenv                                   

.rw-r--r--. hummingbird108 users  11 B  Fri Dec  6 20:36:35 2024  .python_history                          

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Nov  6 09:20:55 2024  

.pythonscripts                           

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 23 12:15:37 2024  .repro                                   

.rw-------. hummingbird108 users 1.0 KB Wed Nov  6 02:24:53 2024  .rnd                                     

drwxr-xr-x. hummingbird108 users 3.4 KB Mon Dec  9 09:09:48 2024  .rustup

.rw-r--r--. hummingbird108 users 2.2 KB Sat Dec 21 07:59:29 2024  .secrets.env                             

.rw-r--r--. hummingbird108 users  10 B  Tue Nov  5 11:06:25 2024  .shell.pre-oh-my-zsh

drwx------. hummingbird108 users 3.4 KB Tue Dec  3 20:15:35 2024 󰢬 .ssh                                     

.rw-r--r--. hummingbird108 users  44 B  Wed Dec 11 14:18:31 2024  .stylelintrc.json

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Nov 22 12:52:14 2024  .subversion                              

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Nov 15 07:32:16 2024  .termux

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Dec  5 10:21:10 2024  .themes                                  

.rw-r--r--. hummingbird108 users  13 KB Fri Nov 29 11:15:44 2024  .tree-sitter-completion.zsh

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec 17 01:42:18 2024  .vim                                     

.rw-------. hummingbird108 users  57 KB Mon Dec 23 04:45:49 2024  .viminfo

drwx------. hummingbird108 users 8.0 KB Tue Dec 17 08:17:52 2024  .vnc                                     

.rw-------. hummingbird108 users 138 B  Tue Dec 17 08:17:52 2024  .vncviewer

drwx------. hummingbird108 users 3.4 KB Wed Nov  6 07:13:30 2024  .w3m                                     

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 18 23:55:26 2024  .wakatime

.rw-r--r--. hummingbird108 users 179 B  Wed Nov  6 02:11:49 2024  .wakatime.cfg                            

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec 10 09:19:11 2024  .warp

.rw-r--r--. hummingbird108 users 543 B  Mon Dec 23 06:10:04 2024  .wget-hsts                               

.rw-------. hummingbird108 users 2.7 KB Tue Dec 17 08:17:52 2024  .Xauthority

.rw-------. hummingbird108 users  25 B  Tue Feb 27 14:04:52 2024  .Xresources                              

.rw-r--r--. hummingbird108 users  50 KB Sun Dec 22 05:20:04 2024  .zcompdump

.rw-r--r--. hummingbird108 users  51 KB Sun Dec 22 05:37:21 2024  .zcompdump-localhost-5.9                 

.r--r--r--. hummingbird108 users 119 KB Sun Dec 22 05:37:21 2024  .zcompdump-localhost-5.9.zwc

.rw-------. hummingbird108 users 228 KB Mon Dec 23 06:08:53 2024 󱆃 .zsh_history                             

.rw-r--r--. hummingbird108 users  22 B  Mon Dec  9 09:09:21 2024  .zshenv

.rw-r--r--. hummingbird108 users 8.8 KB Fri Nov 29 06:48:13 2024  
.zshrc.rationalised                      

.rw-r--r--. hummingbird108 users 7.8 KB Fri Nov 29 06:51:04 2024  .zshrc.rationalised2

.rw-r--r--. hummingbird108 users 1.9 KB Mon Nov  4 10:19:28 2024 󰁯 .zshrc1.bak                              

.rw-r--r--. hummingbird108 users 3.9 KB Tue Nov  5 11:06:18 2024 󰁯 .zshrc2.bak

.rw-r--r--. hummingbird108 users  18 KB Fri Nov 29 06:21:33 2024 󰁯 .zshrc3.bak                              

.rw-r--r--. hummingbird108 users  27 KB Mon Dec 23 06:05:43 2024 󰁯 .zshrc4.bak

.rw-------. hummingbird108 users  29 B  Wed Nov 27 01:57:14 2024  .zx_repl_history                        

.rwxr-xr-x. hummingbird108 users 1.7 KB Mon Nov 25 18:43:08 2024  a.out

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Nov 22 17:36:48 2024  android-ndk                              

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Nov 20 19:00:36 2024  android-sdk

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 12:08:49 2024  avante.nvim                              

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 11:45:08 2024  avante_nvim_fork

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 15:32:29 2024  b9-obsidian-copilot                      

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec 17 08:17:30 2024  bashscripts

drwxr-xr-x. hummingbird108 users 3.4 KB Mon Dec  2 18:04:53 2024  bing-potd-wallpaper                      

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Dec 19 07:27:48 2024  chromium

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Dec 13 13:28:25 2024  claude-engineer                         
 
.rw-r--r--. hummingbird108 users  57 KB Fri Nov 15 03:42:07 2024  composer-setup.php

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Dec 13 16:21:28 2024  CopilotKit                               

.rw-r--r--. hummingbird108 users 295 KB Fri Nov 29 16:57:51 2024  cpanm

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Dec 20 01:25:22 2024  cybersecurity_cli_shell_commands_dataset drwxr-xr-x. 

hummingbird108 users 3.4 KB Wed Dec 18 03:05:18 2024  dbvisualizer

.rw-r--r--. hummingbird108 users 6.0 KB Fri Dec  6 23:15:27 2024  debian                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 30 14:55:47 2024  desktop

.rw-r--r--. hummingbird108 users  13 KB Tue Dec 10 01:00:14 2024  diesel_cli_cargo_crate_error.txt         

drwxr-xr-x. hummingbird108 users 3.4 KB Mon Nov 25 02:01:00 2024  Documents

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 23:47:47 2024 󰉍 Downloads                                

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Nov 27 11:26:27 2024  fzf

drwxr-xr-x. hummingbird108 users 3.4 KB Mon Dec 23 06:09:02 2024  go_home                                  

.rw-r--r--. hummingbird108 users 4.9 KB Wed Dec 11 19:15:03 2024  gui_obsidian.log

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Dec 22 09:52:30 2024  ia                                       

.rw-r--r--. hummingbird108 users  92 KB Fri Dec  6 19:28:41 2024  index.html                               

.rw-r--r--. hummingbird108 users 117 KB Thu Dec 12 04:27:46 2024  index.html.1                             

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 18 02:17:03 2024  java_home                                

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Dec 21 08:06:03 2024  js_ts_home                               

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Nov 15 04:04:18 2024  julia                                    

.rw-r--r--. hummingbird108 users 5.7 KB Mon Nov 25 17:02:52 2024  langflow-1.1.1-py3-none-any.whl          

.rw-r--r--. hummingbird108 users 5.6 KB Tue Dec 17 08:17:57 2024  launch_vnc_env.log                       

.rw-------. hummingbird108 users  36 B  Tue Feb 27 23:54:32 2024  litellm_uuid.txt                         

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Dec 12 04:17:17 2024  llm_search_tool                          

.rw-------. hummingbird108 users 5.2 KB Tue Dec 17 23:56:47 2024  logfile                                  

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 23 13:34:23 2024  lua                                      

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 23 13:40:12 2024  luajit                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 23 13:46:32 2024  luarocks

.rw-r--r--. hummingbird108 users  22 KB Thu Dec  5 15:26:15 2024  magic.lock                               

drwxr-xr-x. hummingbird108 users 3.4 KB Fri Dec  6 18:06:13 2024  micromamba                              
 
drwxr-xr-x. hummingbird108 users 3.4 KB Sat Dec 14 19:45:18 2024  MicroTeX                                 

.rw-r--r--. hummingbird108 users   0 B  Thu Dec  5 10:48:49 2024  modular-archive-keyring.gpg              

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 23:47:47 2024 󱍙 Music                                    

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Nov 14 07:07:51 2024  neovim                                   

drwxr-xr-x. hummingbird108 users  20 KB Wed Dec 18 22:06:56 2024  node_modules                            
 
drwxr-xr-x. hummingbird108 users 3.4 KB Mon Dec 16 03:08:14 2024  obsidian                                 

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 18:37:43 2024  obsidian-cli                            
 
drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 18:33:42 2024  obsidian-git                             

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec  4 19:02:18 2024  obsidian-rag-plugin-dev                  

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Nov 14 05:58:48 2024  ollama                                   

.rw-r--r--. hummingbird108 users 115 KB Wed Dec 18 22:07:32 2024  package-lock.json                        

.rw-r--r--. hummingbird108 users 473 B  Wed Dec 18 22:07:32 2024  package.json                            
 
drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 18 14:27:50 2024  pandoc-markdown-book                     

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 11 19:42:09 2024  perl_home                                

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec 17 22:14:32 2024  pgvector                                 

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec 17 21:36:03 2024  pgvectorscale                            

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Nov 30 08:35:36 2024 󰉏 Pictures                                 

.rw-r--r--. hummingbird108 users 297 B  Thu Dec  5 15:26:15 2024  pixi.toml                                

drwx------. hummingbird108 users 3.4 KB Mon Nov  4 10:26:46 2024  postgresql                               

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 23:47:47 2024  public

drwxr-xr-x. hummingbird108 users 3.4 KB Sat Dec 14 16:34:00 2024  python_home                             
 
drwxr-xr-x. hummingbird108 users 3.4 KB Wed Nov 27 19:50:20 2024  quartz                                   

.rw-r--r--. hummingbird108 users 219 B  Sat Nov 23 12:15:04 2024  repro.lua                                

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 11 21:41:36 2024  rust_home                                

drwxr-xr-x. hummingbird108 users 3.4 KB Thu Dec 12 04:39:11 2024  simple_rag                               

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 23:47:47 2024  templates                                

lrwxrwxrwx. hummingbird108 users  33 B  Wed Nov 20 10:06:59 2024  termux_host_home ⇒ /data/data/com.termux/files/home/                                                                                                 

drwxr-xr-x. hummingbird108 users 4.0 KB Mon Dec 23 06:09:55 2024  tmp                                      

drwxr-xr-x. hummingbird108 users  20 KB Wed Nov 27 12:02:59 2024  tmux                                     

drwxr-xr-x. hummingbird108 users 3.4 KB Tue Dec 17 19:17:20 2024  uv                                       

drwxr-xr-x. hummingbird108 users 3.4 KB Sun Nov 24 23:47:47 2024  Videos                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 18 15:00:58 2024  zettlr                                   

drwxr-xr-x. hummingbird108 users 3.4 KB Wed Dec 18 18:07:40 2024  zettlr-docs

localhost% source .zshrc                                                                                    

source: no such file or directory: .zshrc

localhost% source /home/hummingbird108/.config/zsh/.zshrc                                                   

[oh-my-zsh] Random theme 'dogenpunk' loaded                                                                 

Switched to PostgreSQL 15

Hit:1 http://deb.debian.org/debian bookworm InRelease                                                       

Hit:2 http://security.debian.org/debian-security bookworm-security InRelease

Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                               

Ign:4 https://releases.warp.dev/linux/deb stable InRelease

Hit:5 https://releases.warp.dev/linux/deb stable Release                                                    

Hit:6 https://packagecloud.io/timescale/timescaledb/debian bookworm InRelease

Hit:7 https://apt.postgresql.org/pub/repos/apt bookworm-pgdg InRelease                                      

Error connecting: Could not connect: Connection refused

Reading package lists... Done                                                                               

Building dependency tree... Done

Reading state information... Done                                                                           
All packages are up to date.
Reading package lists... Done                                                                               
Building dependency tree... Done                                                                            
Reading state information... Done                                                                           

Calculating upgrade... Done

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.                                              

(base) localhost ॐ  ~:
9 ◯  whoami                                                                                                 
hummingbird108
(base) localhost ॐ  ~:                                                                                      
4590 ◯

I don't know why, but recently the Zsh shell of the standard user of this user account in my Debian proot chroot, has become unstable and temperamental. Recently, approaching pretty much always, if the shell console has an output, requesting input, or I enter a spelling error of any command in the console, for example, the shell automatically drops from my standard user, to the standard user's root account and environment and changes directory which is curious and really quite annoying, as well as counterproductive. So, that's the long-winded bloody context.

Anyway, that said and contextualised, I feel that the following line extracted from the above shell console output from the Dorothy install, demonstrates just such a console output, requesting input and subsequently triggering a drop from the shell and environment of my standard user, to the root user and their shell and environment. Which, as a consequence, terminated the install from that point onwards:

...
...
...
This machine's hostname is currently generic [localhost], 
would you like to change it?   
ABORT              Terminated
root@localhost /home/hummingbird108/postgresql/main
...
...
...

I am hoping that you may be able to identify what needs to be done to finesse and finalise the install and repair the installation glitch.

Just respond when convenient amd timely. I appreciate things are probably hectic for you, given that it is currently right smack-bang in the middle of the Silly Season. I wish you and yours a joyous and merry Christmas.

I await your advice in due course.

Thanking you in anticipation
Beauford

@balupton
Copy link
Member

I'm back from travelling and will be back to coding this week. I'll get the square brackets PR merged then will solve whatever is happening here. The PR should fix many oddities. Will aim to get the PR merged and whatever the fix for this done by end of this week.

@balupton balupton added the bug Broken or unexpected label Dec 23, 2024
@balupton
Copy link
Member

Can you grab a time on https://cal.com/balupton/meet

1 similar comment
@balupton
Copy link
Member

Can you grab a time on https://cal.com/balupton/meet

@b9Joker108
Copy link
Author

Sweet thanks!

I just changed shells from Zsh to Bash and then did the install a second time. Uhm, in truth, actually a third time, because the second time I chose to customise 'localhost' when prompted. As my device is unrooted, it ended in tears. Third time lucky, the install went down without a hitch. Well there was no adverse console output nor shell warning and I was prompted to answer a lot of install questions, which all seemed to go well. But, then to check the install after restarting my shell and environment, I entered the following as advised to ensure everything was kosher:

(base) localhost :: ~ % dorothy theme
zsh: command not found: dorothy
7:57:12 root@localhost ~ su hummingbird108

Of couse, as the dorothy command was not found, my standard user shell and environment, dropped to the user's root shell, environment and directory. So, I think the install went well, just a little bit of finesse is required to find dorothy!

Cheers
Beauford

@b9Joker108
Copy link
Author

b9Joker108 commented Dec 23, 2024

I don't think the link: https://cal.com/balupton/meet, is working as it should. FYI, the error splash page was the same for both instances:

Image

@molleweide
Copy link
Collaborator

i get the same err fyi

@balupton
Copy link
Member

Whoops, maybe it's https://cal.com/balupton/call

@balupton
Copy link
Member

For why Dorothy may not be loading, see https://github.com/bevry/dorothy/blob/master/docs/dorothy/dorothy-not-loading.md

@balupton
Copy link
Member

@b9Joker108 can you grab a time on https://cal.com/balupton/call I'm keen to solve this for you

@balupton
Copy link
Member

balupton commented Jan 2, 2025

@b9Joker108 in the zsh shell that is crashing, can you run:

printf '%s\n' $-
test 1 -eq 2
printf '%s\n' $?

and let me the output and if it crashes

@b9Joker108
Copy link
Author

(base) localhost:~ $ lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
(base) localhost:~ $ uname -a
Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Mon Oct 14 00:51:42 UTC 2024 aarch64 GNU/Linux

@b9Joker108
Copy link
Author

b9Joker108 commented Jan 6, 2025

(base) localhost:~ $ printf '%s\n' $-
569JNRXZeghikms
(base) localhost:~ $ test 1 -eq 2
root@localhost [1] #

The first one-liner outlined an alphanumeric string. The second one-liner results in the shell dropping to root: $ test 1 -eq 2, so this may be indicative of the culprit. I logged back into the appropriate shell and standard user and endeavoured the third one-liner:

(base) [hummingbird108@localhost ~ ]$ printf '%s\n' $?
0

@balupton
Copy link
Member

balupton commented Jan 6, 2025

569JNRXZeghikms

Yeah, so the issue is that e should not be there. It is the errexit flag, which instructs the shell to crash if a non-zero exit status is encountered.

We need to find out when/where that flag is getting set. Maybe your interactive.(sh|zsh) is setting it, or is sourcing $DOROTHY/sources/zsh.zsh which would set it (as it is made for scripting, not interactive shell use).

@b9Joker108
Copy link
Author

(base) localhost:~ $ printf '%s\n' $-
569JNRXZeghikms
(base) localhost:~ $ test 1 -eq 2
root@localhost [1] #

The second one-liner results in the shell dropping to root: $ test 1 -eq 2.

I really appreciate you learning me about the shell debugging one-liner! I have never encountered that before and I am doing a write up on it now in my ObsidianMD vault and adding it to my toolkit. I may have set the console silence flag in my OMZ config. I know I definitely did it in the OMZ config of the Zsh shell of my Termux host environment, but I don't have a memory of doing it in my Debian proot chroot, but that doesn't mean I didn't.

@b9Joker108
Copy link
Author

I am closing this issue. Please let me know what you think about this in regards to our conversation when you have time: https://youtu.be/DYvXb_ukIzg?si=T6Cnr0ACNWhNoJbX

@balupton balupton changed the title New install in an established aarch64 proot-distro alias proot chroot of Debian 12 'Bookworm' on an unrooted Android host Support: zsh exiting after failed commands Jan 7, 2025
@balupton
Copy link
Member

balupton commented Jan 7, 2025

@b9Joker108 cool, will take a look when I have time.


For future reference, this issue was due to errexit being set in either the user configuration or the zsh configuration, applied from something unrelated to Dorothy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken or unexpected
Development

No branches or pull requests

3 participants