./.zshrc ✔
/usr/share/zsh/manjaro-zsh-config: line 2: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 3: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 4: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 5: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 6: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 7: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 8: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 9: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 10: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 11: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 12: setopt: command not found
/usr/share/zsh/manjaro-zsh-config: line 14: zstyle: command not found
/usr/share/zsh/manjaro-zsh-config: line 15: ${(s.:.)LS_COLORS}: bad substitution
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?
#~/.zshrc -l True
while getopts l: option
do
case "${option}"
in
l) long=${OPTARG};; #Activate long edition true/false
esac
done
if [[ -e ~/.zsh_aliases ]]; then
source ~/.zsh_aliases -l $long
fi
https://github.com/Chrysostomus/manjaro-zsh-config/issues/29
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?