Remove TODO
This commit is contained in:
parent
6197f5e090
commit
864951b928
|
|
@ -55,10 +55,9 @@ function __zoxide_hook() {
|
||||||
|
|
||||||
{%- endmatch %}
|
{%- endmatch %}
|
||||||
|
|
||||||
# TODO
|
{# $PROMPT_COMMAND cannot contain two semicolons in sequence. It can end with a
|
||||||
{# bash throws an error if $PROMPT_COMMAND contains two semicolons in sequence.
|
# semicolon, but it cannot start with one. Therefore, always put the hook
|
||||||
# This is hard to avoid perfectly, but adding __zoxide_hook to the front of
|
# at the start of $PROMPT_COMMAND. -#}
|
||||||
# $PROMPT_COMMAND rather than the back makes this scenario unlikely. -#}
|
|
||||||
|
|
||||||
# Initialize hook.
|
# Initialize hook.
|
||||||
if [ "${__zoxide_hooked}" != '1' ]; then
|
if [ "${__zoxide_hooked}" != '1' ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue