aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 00:30:10 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 00:30:10 +0200
commitcef665f1d76ceb218f14e6bab0677a36ba24e5f3 (patch)
treeae71c64082c937201f228a31c6d1e8d8ffb6a283 /home
parentb86a17fbad26199167763459b8a92a3d6b06debb (diff)
downloadlbsd-cef665f1d76ceb218f14e6bab0677a36ba24e5f3.tar.gz
(ROX) MIME-types/text: Open basename, not full path
Diffstat (limited to 'home')
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/text2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/text b/home/john/.config/rox.sourceforge.net/MIME-types/text
index 532d70d..613c249 100755
--- a/home/john/.config/rox.sourceforge.net/MIME-types/text
+++ b/home/john/.config/rox.sourceforge.net/MIME-types/text
@@ -1,3 +1,3 @@
#!/bin/sh
cd "$(dirname "$1")"
-exec xtopen vi "$1"
+exec xtopen vi "$(basename "$1")"