;; Check command being used with which
;; Open dired to current directory or specific path
;; Output of command to kill-ring (clipboard history)
;; Output of command to a separate named buffer
rg -i string > #<buffername>
;; Output of last command to clipboard, run multiple commands with ;
echo $$ >/dev/clip; echo hello
;; Run 2 commands only if first command successful
;; Grep all files in directory, open in Emacs grep mode
;; Parse agrument string into elisp notation
;; Add path to $PATH environment variable or print existing paths if no argumment
;; magit status of directory
;; Status of version controlled directory
;; Run command in background if external to Emacs
;; Search for file name with emacs in current directory using * glob
find-name-dired ./ *emacs*
;; Start command in background asynchronously
;; Run eshell commands in a batch file with eshell-batch-file
#!/usr/bin/env -S emacs --batch -f eshell-batch-file