diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-02-01 23:04:52 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-02-01 23:04:52 +0100 |
| commit | b8d2f5c35b22ae236dc7f00943bec8ca17af6c77 (patch) | |
| tree | e0189cffdc8d4c28e73078a1cadf6743dd035219 | |
| parent | bb9776e51455faac274bc942977078f1b1806f28 (diff) | |
| download | dotfiles-b8d2f5c35b22ae236dc7f00943bec8ca17af6c77.tar.xz | |
Fix bash prompt functions overwriting shell variables
| -rw-r--r-- | .bash_prompt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.bash_prompt b/.bash_prompt index bf7a7b1..a922033 100644 --- 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 |
