Skip to content

Commit

Permalink
fix(lfcd.fish):repaint commandline
Browse files Browse the repository at this point in the history
the prompt may not be updated without repaint
  • Loading branch information
PostCyberPunk authored Jan 11, 2024
1 parent 27c71f8 commit d5c3af1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/lfcd.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ function lfcd --wraps="lf" --description="lf - Terminal file manager (changing d
# `command` is needed in case `lfcd` is aliased to `lf`.
# Quotes will cause `cd` to not change directory if `lf` prints nothing to stdout due to an error.
cd "$(command lf -print-last-dir $argv)"
commandline --function repaint
end

0 comments on commit d5c3af1

Please sign in to comment.