;;; -*- lexical-binding: t -*- ;; ;; this file: ;; https://dataswamp.org/~incal/emacs-init/linux-shell.el (require 'ide) (defun zsh-hashbang (&optional url) (interactive "P") (sh-mode) (when url (insert "\n") (this-file-comment) ) (goto-char (point-min)) (insert "#! /bin/zsh\n\n") (goto-char (point-max)) (save-buffer) ) (defalias 'z #'zsh-hashbang) (provide 'linux-shell)