You are not logged in.

#1 2023-08-13 12:09:31

aliwashere064
Member
Registered: 2023-08-13
Posts: 3

[sovled] Issue Creating .zshrc File During Zsh Setup

I'm encountering an unusual issue during the setup of Zsh as my default shell. When I launch Zsh for the first time, I'm presented with the setup screen where I need to press 0 to create the files it needs. However, after doing so, I receive an error that says: zsh-newuser-install:972: no such file or directory: /home/alex/.zshrc 've followed various troubleshooting steps, including checking the permissions of my home directory and trying to create the .zshrc file manually using the touch command. Unfortunately, none of these actions seem to resolve the issue. any idea how to solve this?

Last edited by aliwashere064 (2023-08-13 14:57:35)

Offline

#2 2023-08-13 12:23:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: [sovled] Issue Creating .zshrc File During Zsh Setup

Unfortunately, none of these actions seem to resolve the issue.

And what was their response? What do the permissions look like?

echo $HOME
stat $HOME
stat $HOME/.zshrc
touch $HOME/.snafu
star $HOME/.snafu

Offline

#3 2023-08-13 14:22:04

aliwashere064
Member
Registered: 2023-08-13
Posts: 3

Re: [sovled] Issue Creating .zshrc File During Zsh Setup

i have owner on both of them

the return of the commands:

/home/alex
  File: /home/alex
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 8,3     Inode: 34078722    Links: 22
Access: (0700/drwx------)  Uid: ( 1000/    alex)   Gid: ( 1000/    alex)
Access: 2023-08-13 15:12:09.508312105 +0100
Modify: 2023-08-13 15:12:52.837313163 +0100
Change: 2023-08-13 15:12:52.837313163 +0100
 Birth: 2023-08-12 17:07:54.552599902 +0100
  File: /home/alex/.zshrc -> ~/zsh/.zshrc
  Size: 12              Blocks: 0          IO Block: 4096   symbolic link
Device: 8,3     Inode: 34079261    Links: 1
Access: (0777/lrwxrwxrwx)  Uid: ( 1000/    alex)   Gid: ( 1000/    alex)
Access: 2023-08-12 19:39:30.989079425 +0100
Modify: 2023-08-12 17:07:55.959279202 +0100
Change: 2023-08-12 17:07:55.959279202 +0100
 Birth: 2023-08-12 17:07:55.959279202 +0100

Last edited by aliwashere064 (2023-08-13 14:40:43)

Offline

#4 2023-08-13 14:24:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: [sovled] Issue Creating .zshrc File During Zsh Setup

/home/alex/.zshrc looks like a bogus symlink to [edit: literal!] ~/zsh/.zshrc ?

Please also use [code][/code] tags. Edit your post in this regard.

Last edited by seth (2023-08-13 14:24:38)

Offline

#5 2023-08-13 14:42:55

aliwashere064
Member
Registered: 2023-08-13
Posts: 3

Re: [sovled] Issue Creating .zshrc File During Zsh Setup

my apologies,
i have made the directory myself and it has fixed it thank you

Offline

#6 2023-08-13 14:47:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: [sovled] Issue Creating .zshrc File During Zsh Setup

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB