After I wrote zle.el, it seems that I forgot about it. Attempting to revive it by using it during sh-mode.
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			828 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			828 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
| ;;; wpc-shell.el --- POSIX Shell scripting support -*- lexical-binding: t -*-
 | |
| ;; Author: William Carroll <wpcarro@gmail.com>
 | |
| 
 | |
| ;;; Commentary:
 | |
| ;; Helpers for my shell scripting. Includes bash, zsh, etc.
 | |
| 
 | |
| ;;; Code:
 | |
| 
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| ;; Dependencies
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| 
 | |
| (require 'zle)
 | |
| 
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| ;; Code
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| 
 | |
| (use-package flymake-shellcheck
 | |
|   :commands flymake-shellcheck-load
 | |
|   :init
 | |
|   (add-hook 'sh-mode-hook #'flymake-shellcheck-load)
 | |
|   (add-hook 'sh-mode-hook #'zle-minor-mode))
 | |
| 
 | |
| (use-package fish-mode)
 | |
| 
 | |
| (provide 'wpc-shell)
 | |
| ;;; wpc-shell.el ends here
 |