summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/functions/runit/getservicedir
diff options
context:
space:
mode:
authorAlan Pearce2014-04-12 13:15:53 +0100
committerAlan Pearce2014-04-12 13:15:53 +0100
commit81c8016d1e296ed91af69f2d5bf435d7d657af04 (patch)
treebbccda0a7e252ce2f90bfd648fa7b5edb7d45920 /tag-zsh/config/zsh/functions/runit/getservicedir
parent9dd9b2972c4c526109f4fb57f936b67290ace003 (diff)
downloaddotfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.lz
dotfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.zst
dotfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.zip
Restructure everything to use rcm
https://github.com/thoughtbot/rcm
Diffstat (limited to 'tag-zsh/config/zsh/functions/runit/getservicedir')
-rw-r--r--tag-zsh/config/zsh/functions/runit/getservicedir2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/functions/runit/getservicedir b/tag-zsh/config/zsh/functions/runit/getservicedir
new file mode 100644
index 0000000..2e5d961
--- /dev/null
+++ b/tag-zsh/config/zsh/functions/runit/getservicedir
@@ -0,0 +1,2 @@
+#!/usr/bin/env zsh
+print ${$(readlink ${SVDIR:-/service}/$1):h}
\ No newline at end of file