]> Sergey Matveev's repositories - schwabrak.git/blobdiff - lib.zsh.rc
Another simplification
[schwabrak.git] / lib.zsh.rc
diff --git a/lib.zsh.rc b/lib.zsh.rc
deleted file mode 100644 (file)
index e4b582b..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-setopt ERR_EXIT PIPE_FAIL EXTENDED_GLOB GLOB_STAR_SHORT
-
-PERL=${PERL:-perl}
-EDITOR=${EDITOR:-vi}
-
-die() {
-    print $@ >&2
-    exit 1
-}
-
-[[ -d issues ]] || die You must run that command in directory with issues/
-
-autoload -Uz relative
-
-endash() {
-    $PERL -npe 's/(-+)/$1-/g ; s/ /-/g'
-}
-
-dedash() {
-    $PERL -npe 's/([^-])-([^-])/$1 $2/g ; s/-(-+)/$1/g'
-}
-
-supercat() { cat ; }
-if [[ -z $NO_COLOR ]] && command -v spc > /dev/null 2> /dev/null ; then
-    supercat() { spc $@ ; }
-fi
-
-delim() {
-    {
-        local i
-        for i ({1..40}) print -n -- -
-        print
-    } | supercat -e mag,".*"
-}