dblume commited on 2021-12-22 08:46:08
Showing 1 changed files, with 1 additions and 1 deletions.
| ... | ... |
@@ -148,7 +148,7 @@ md() {
|
| 148 | 148 |
declare -r T=$(mktemp --suffix=.html) |
| 149 | 149 |
curl -s -X POST --data-binary @"$1" https://md.dlma.com/ > $T |
| 150 | 150 |
if [[ -z "${WSL_DISTRO_NAME}" ]]; then
|
| 151 |
- xdg-open $T |
|
| 151 |
+ gio open $T |
|
| 152 | 152 |
echo "rm \"$T\" >/dev/null 2>&1" | at now + 2 minutes |
| 153 | 153 |
else |
| 154 | 154 |
# Set BROWSER to your web browser's path |
| 155 | 155 |