Created
October 16, 2019 13:06
-
-
Save mullikine/4c8ca897706d3eea553122d84c0cbc90 to your computer and use it in GitHub Desktop.
eshell-unique
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun eshell-unique (&optional arg) | |
(interactive "P") | |
(progn | |
(eshell arg) | |
;; (rename-buffer "*eshell*" t ;; (concat "*eshell-" (substring (uuidgen-4) 0 8) "*") | |
;; ) | |
(rename-buffer (concat "*eshell-" (substring (uuidgen-4) 0 8) "*") | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment