We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359a80e commit bce6588Copy full SHA for bce6588
1 file changed
bin/preview.sh
@@ -17,6 +17,7 @@ if [[ $1 =~ ^[A-Z]:\\ ]]; then
17
CENTER=${INPUT[2]}
18
fi
19
20
+FILE="${FILE/#\~\//$HOME\/}"
21
if [ ! -r "$FILE" ]; then
22
echo "File not found ${FILE}"
23
exit 1
0 commit comments