about summary refs log tree commit diff
path: root/fish/.config/fish/functions/tht.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/.config/fish/functions/tht.fish')
-rw-r--r--fish/.config/fish/functions/tht.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/fish/.config/fish/functions/tht.fish b/fish/.config/fish/functions/tht.fish
new file mode 100644
index 0000000..177a066
--- /dev/null
+++ b/fish/.config/fish/functions/tht.fish
@@ -0,0 +1,8 @@
+# Defined in /tmp/fish.aHcCMP/tht.fish @ line 2
+function tht
+	if test -f ~/.tht/bin/tht.php
+        php ~/.tht/bin/tht.php $argv
+    else
+        echo tht not installed
+    end
+end