Use preexec to initialize plugin
parent
22aae07d0d
commit
c6341411c0
|
|
@ -43,4 +43,8 @@ _command_duration() {
|
|||
fi
|
||||
}
|
||||
|
||||
PS0="\[\$(_command_duration_pre_exec)\]"
|
||||
preexec() (
|
||||
_command_duration_pre_exec
|
||||
)
|
||||
|
||||
preexec_install
|
||||
|
|
|
|||
Loading…
Reference in New Issue