Use shell variable instead of environment variable #2776
|
In my theme I have the following code for the transient prompt: For better readability, this prompt draws a line with the "_" character at full width of the terminal. In zsh however, I can't find a way to replicate this. The $COLUMNS shell variable already exists as set by the shell itself, but I can't find any way to use it or know of any way to set it as an environment variable like in PowerShell.
Thanks! |
Replies: 1 comment 3 replies
|
@sergiomiranda let me check if we can override functions easily in zsh ;-) There's no way to reference shell variables from oh-my-posh. |

@sergiomiranda let me check if we can override functions easily in zsh ;-) There's no way to reference shell variables from oh-my-posh.