dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit b8d2f5c35b22ae236dc7f00943bec8ca17af6c77
parent bb9776e51455faac274bc942977078f1b1806f28
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Sat,  1 Feb 2020 23:04:52 +0100

Fix bash prompt functions overwriting shell variables

Diffstat:
M.bash_prompt | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.bash_prompt b/.bash_prompt @@ -86,6 +86,7 @@ __fontify () echo -en '\E[' + local i for ((i=1; i<=$#; i++)) do echo -en ${codes[${!i}]} @@ -140,7 +141,7 @@ __signal-no-newline () __draw-rule () { - local line + local i line for ((i=$(__current-column); i<COLUMNS; i++)) do