zsh: silence error when missing prompt script
This commit is contained in:
parent
ad95319169
commit
025b3fb543
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function lf-wrap() {
|
|||
LF_DIRFILE="$(mktemp -u)"
|
||||
|
||||
env lfX -last-dir-path="$LF_DIRFILE" \
|
||||
-command "set promptfmt \"$(${HOME}/.local/libexec/lf_prompt)\""
|
||||
-command "set promptfmt \"$(${HOME}/.local/libexec/lf_prompt 2>/dev/null)\""
|
||||
|
||||
dir="$(cat "$LF_DIRFILE")"
|
||||
rm "$LF_DIRFILE" &>/dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue