Open PeterKW opened 2 years ago
That's probably because you're executing the file that should be sourced into your running shell. Also your .zshrc
as well as /usr/share/zsh/manjaro-zsh-config
don't have a shebang at the beginning, so that your zshrc is executed with sh
instead of zsh
.
To source your zshrc use source .zshrc
.
If I run:
I get errors with setopt in the scripts, even when I write my own in .zshrc
Running something like the following in my terminal works with no errors.
setopt interactivecomments
Do I have something setup incorrectly?
I have been trying to have a way of passing in a variable command to run a long and a short version of commands in my zshrc aliases which works in bashrc but not in zshrc, so I was wondering if something to do with the setopt errors might be blocking it from running?