Answer by chepner for zsh & python. trying to use python script in zsh...
You need to enable the PROMPT_SUBST option for command substitutions to be evaluated in a prompt.(Also, there's no need to define BAT_CHARGE or battery_charge; just call your Python script directly...
View Articlezsh & python. trying to use python script in zsh prompt, however, cannot
Hi I am trying to use python script to show my laptop's battery status on my zsh prompt.I am following this.I made batcharge.py script in my ~/bin/ and I did chmod 755 batcharge.py in commad line.this...
View Article
More Pages to Explore .....