Closed navxio closed 5 years ago
bash: /usr/share/z/z.sh: line 87: syntax error near unexpected token elif' bash: /usr/share/z/z.sh: line 87: elif [ "$1" = "--complete" -a -s "$datafile" ]; then'`
bash:
elif' bash: /usr/share/z/z.sh: line 87:
I've put this in my bashrc. Using archlinux!!
i suspect the file has bad line endings for whatever reason
Downloaded the raw file and tried to source it.. same result.
cleaned up my .bashrc using shellcheck.net. Resolved the issue, closing this for now.
bash:
/usr/share/z/z.sh: line 87: syntax error near unexpected tokenelif' bash: /usr/share/z/z.sh: line 87:
elif [ "$1" = "--complete" -a -s "$datafile" ]; then'`I've put this in my bashrc. Using archlinux!!