Skip to content

Commit

Permalink
fix: no more ./ from file path
Browse files Browse the repository at this point in the history
It got introduced since fd v8.3.0

sharkdp/fd#760
  • Loading branch information
anhpt379 committed Sep 7, 2022
1 parent b13ab0b commit 7e2c026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/filemru.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MRU_MAX=10000
# Each line is 3 comma separated values of: timestamp, select count, file name
# The select count is used as a tie breaker for lines with the same timestamp.
MRU_FILE=$CACHE/fzf_filemru
DEFAULT_COMMAND="fd --hidden --type f --color=never --exclude '.git' -E '*.jp*g' -E '*.png' 2> /dev/null"
DEFAULT_COMMAND="fd --strip-cwd-prefix --hidden --type f --color=never --exclude '.git' -E '*.jp*g' -E '*.png' 2> /dev/null"
REAL_PWD="$(pwd -P)"

if [ ! -d "$CACHE" ]; then
Expand Down

0 comments on commit 7e2c026

Please sign in to comment.