mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
Remove unnecessary escaping in tilde expansion (#962)
This commit is contained in:
@@ -17,7 +17,7 @@ if [[ $1 =~ ^[A-Z]:\\ ]]; then
|
|||||||
CENTER=${INPUT[2]}
|
CENTER=${INPUT[2]}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FILE="${FILE/#\~\//$HOME\/}"
|
FILE="${FILE/#\~\//$HOME/}"
|
||||||
if [ ! -r "$FILE" ]; then
|
if [ ! -r "$FILE" ]; then
|
||||||
echo "File not found ${FILE}"
|
echo "File not found ${FILE}"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user