Making zsh see my scripts
Hello everyone,
I am using Ubuntu (9.04) and recently installed the Zed shell 'zsh'. I am planning to explore it a bit before setting it as my default shell. I did go through the configuration steps at the start when I first invoked 'zsh'. In 'bash' I can use a series of customized search scripts which I keep in a subdirectory in my home directory say /home/thisuser/scripts. This has been added to the $PATH and in 'bash' I can see the utilities contained in there and use them. When I invoke 'zsh' from 'bash', 'zsh' can't see my '~/scripts' directory and its contents even though you can type echo $PATH and you'll see the :~/scripts: components in the path. I know I'm doing something wrong..but what? Regards dar_beh_dar |
Is your ZSH scripts set as executable? Try the chmod command. chmod 640 or chmod 700 on the script your trying to access.
|
Positive.
They are all -rwxrwxr-x and are all kept under '~/scripts' However your suggestion caused me to do something else: I changed '~' to '/home/<user>/' and bada-bing...it works! I think that it might vaguely have to do with differences between 'zsh' and 'bash'. |
All times are GMT -5. The time now is 09:12 PM. |