fix shebang for doctor, org-capture and -tangle

This commit is contained in:
chrunchyjesus 2019-06-08 07:27:36 +02:00
parent 9236999df1
commit 5a380e9db2
No known key found for this signature in database
GPG key ID: B08FE1F00D141D19
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env sh
":"; command -v emacs >/dev/null || { >&2 echo "Emacs isn't installed"; exit 1; } # -*-emacs-lisp-*- ":"; command -v emacs >/dev/null || { >&2 echo "Emacs isn't installed"; exit 1; } # -*-emacs-lisp-*-
":"; VERSION=$(emacs --version | head -n1) ":"; VERSION=$(emacs --version | head -n1)
":"; case $VERSION in *\ 2[0-2].[0-1].[0-9]) echo "You're running $VERSION"; echo "That version is too old to run the doctor. Check your PATH"; echo; exit 2 ;; esac ":"; case $VERSION in *\ 2[0-2].[0-1].[0-9]) echo "You're running $VERSION"; echo "That version is too old to run the doctor. Check your PATH"; echo; exit 2 ;; esac

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env sh
# Open an org-capture popup frame from the shell. This opens a temporary emacs # Open an org-capture popup frame from the shell. This opens a temporary emacs
# daemon if emacs isn't already running. # daemon if emacs isn't already running.

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env sh
":"; exec emacs --quick --script "$0" -- "$@" # -*- mode: emacs-lisp; lexical-binding: t; -*- ":"; exec emacs --quick --script "$0" -- "$@" # -*- mode: emacs-lisp; lexical-binding: t; -*-
;;; bin/org-tangle ;;; bin/org-tangle