summary refs log tree commit diff stats
path: root/zsh/functions/runit/linksv
diff options
context:
space:
mode:
authorAlan Pearce2014-04-12 13:15:53 +0100
committerAlan Pearce2014-04-12 13:15:53 +0100
commit81c8016d1e296ed91af69f2d5bf435d7d657af04 (patch)
treebbccda0a7e252ce2f90bfd648fa7b5edb7d45920 /zsh/functions/runit/linksv
parent9dd9b2972c4c526109f4fb57f936b67290ace003 (diff)
downloadnixfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.lz
nixfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.zst
nixfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.zip
Restructure everything to use rcm
https://github.com/thoughtbot/rcm
Diffstat (limited to 'zsh/functions/runit/linksv')
-rw-r--r--zsh/functions/runit/linksv16
1 files changed, 0 insertions, 16 deletions
diff --git a/zsh/functions/runit/linksv b/zsh/functions/runit/linksv
deleted file mode 100644
index 7ee71094..00000000
--- a/zsh/functions/runit/linksv
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env zsh
-
-if [[ -z $1 ]]; then
-	echo "No service specified"
-	return 64
-fi
-
-
-if [[ ! -x $1 ]]; then
-	echo "Service does not exist in current directory"
-	return 1
-fi
-
-mv $1{,.old}
-ln -s =sv $1
-chmod -h a-w $1