mirror of
https://github.com/kazhala/dotbare
synced 2024-11-02 09:40:27 +00:00
fix(git_query): get_modified_file handle space in preview
This commit is contained in:
parent
bf2e5ac3ef
commit
adfb6b9edc
@ -138,7 +138,7 @@ function get_modified_file() {
|
||||
}
|
||||
}' \
|
||||
| fzf --header="${header}" --preview "echo {} \
|
||||
| awk '{print \$2}' \
|
||||
| awk '{sub(\$1 FS,\"\");print \$0}' \
|
||||
| xargs -I __ /usr/bin/git --git-dir=${DOTBARE_DIR} --work-tree=${DOTBARE_TREE} \
|
||||
diff HEAD --color=always -- ${DOTBARE_TREE}/__" \
|
||||
| awk -v home="${DOTBARE_TREE}" -v format="${output_format}" '{
|
||||
|
Loading…
Reference in New Issue
Block a user