You are not logged in.
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
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/.snafuOffline
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 +0100Last edited by aliwashere064 (2023-08-13 14:40:43)
Offline
/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
my apologies,
i have made the directory myself and it has fixed it thank you
Offline
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