mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
bug fix: set $0 to =todo.sh when sourcing the user config; fixes #403
This commit is contained in:
parent
acb6b68a37
commit
970f4fb8ff
1 changed files with 1 additions and 1 deletions
|
@ -5964,7 +5964,7 @@ _p9k_init() {
|
|||
local todo=$commands[todo.sh]
|
||||
if [[ -n $todo ]]; then
|
||||
local bash=${commands[bash]:-:}
|
||||
_p9k_todo_file="$($bash 2>/dev/null -c "
|
||||
_p9k_todo_file="$(exec -a $todo $bash 2>/dev/null -c "
|
||||
[ -e \"\$TODOTXT_CFG_FILE\" ] || TODOTXT_CFG_FILE=\$HOME/.todo/config
|
||||
[ -e \"\$TODOTXT_CFG_FILE\" ] || TODOTXT_CFG_FILE=\$HOME/todo.cfg
|
||||
[ -e \"\$TODOTXT_CFG_FILE\" ] || TODOTXT_CFG_FILE=\$HOME/.todo.cfg
|
||||
|
|
Loading…
Reference in a new issue