about summary refs log tree commit diff stats
path: root/edit
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-08-02 21:01:48 -0700
committerKartik Agaram <vc@akkartik.com>2020-08-02 21:01:48 -0700
commit2ab2af0c05111b5f5c7e665e1e17d6ae8c6a7a4b (patch)
tree13193fa96b498f45937ac6b254531b3e1db0906f /edit
parentab445d6e7538538e1dc2e5b419b2d2727d0d096f (diff)
downloadmu-2ab2af0c05111b5f5c7e665e1e17d6ae8c6a7a4b.tar.gz
6711
Diffstat (limited to 'edit')
-rwxr-xr-xedit21
1 files changed, 0 insertions, 21 deletions
diff --git a/edit b/edit
deleted file mode 100755
index 57c665c9..00000000
--- a/edit
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env zsh
-# Helper to more conveniently open commonly-used SubX programs.
-
-if [ $# -eq 0 ]
-then
-  echo "Usage: $0 <file root without apps/ subdirectory or .subx extension>"
-  exit 1
-fi
-
-TARGET=apps/$1.mu
-if [[ -e apps/$1.subx  &&  ! -e apps/$1.mu ]]
-then
-  TARGET=apps/$1.subx
-fi
-
-if [[ $EDITOR == *'vim'* ]]
-then
-  $EDITOR -S vimrc.vim $TARGET
-else
-  $EDITOR              $TARGET
-fi