diff options
author | Alan Pearce | 2013-04-28 20:54:18 +0100 |
---|---|---|
committer | Alan Pearce | 2013-04-28 20:54:18 +0100 |
commit | e7657d6ba54ad5714657cff9be86ec416d342a4c (patch) | |
tree | 50a2fada14e8d5f76ef890c4b860fbdd4faf812f /zsh/functions/runit/getservicedir | |
parent | 6bec14c2d18c915a3510aba36a37e78a8b83170f (diff) | |
download | nixfiles-e7657d6ba54ad5714657cff9be86ec416d342a4c.tar.lz nixfiles-e7657d6ba54ad5714657cff9be86ec416d342a4c.tar.zst nixfiles-e7657d6ba54ad5714657cff9be86ec416d342a4c.zip |
Migrate repository from mercurial without history
Diffstat (limited to 'zsh/functions/runit/getservicedir')
-rw-r--r-- | zsh/functions/runit/getservicedir | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/functions/runit/getservicedir b/zsh/functions/runit/getservicedir new file mode 100644 index 00000000..2e5d961c --- /dev/null +++ b/zsh/functions/runit/getservicedir @@ -0,0 +1,2 @@ +#!/usr/bin/env zsh +print ${$(readlink ${SVDIR:-/service}/$1):h} \ No newline at end of file |