invalid arithmetic operator
Created by: nikooo777
Shell: 5.0.17(1)-release
Operating system:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Liquidprompt version: c5d630d5291dab83eb36cf760a541e093eb8a410
Steps to Reproduce
- Clone latest liquidprompt
source ~/liquidprompt/liquidprompt
- type any command
Expected Behavior
no error. also on the next prompt line I should see the error code of the previous command if it's not 0
Current Behavior
~$ echo test
test
-bash: Please ask your administrator.: syntax error: invalid arithmetic operator (error token is ".")
with no error code on the new line if there is one
Possible Solution
I have no clue why, but doing the following:
git reset --hard HEAD~1
exit
reconnect...
fixes the issue. additionally, at this point I can advance 3 commits into master and the error is completely gone. Not sure why that is.