gnu: Add emacs-helm-shell-history.
* gnu/packages/emacs.scm (emacs-helm-shell-history): New public variable.
This commit is contained in:
parent
8aab3d0611
commit
c1b9d72ca1
|
@ -9064,3 +9064,36 @@ documentation.")
|
||||||
(description "This package provides an Emacs functions to format HTML,
|
(description "This package provides an Emacs functions to format HTML,
|
||||||
CSS, JavaScript, JSON.")
|
CSS, JavaScript, JSON.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public emacs-helm-shell-history
|
||||||
|
(let ((commit "110d3c35c52fe4b89b29e79ea4c8626bce7266a1"))
|
||||||
|
(package
|
||||||
|
(name "emacs-helm-shell-history")
|
||||||
|
(version (git-version "0.1" "1" commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/yuutayamada/helm-shell-history.git")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"18fkjcz69g4dyaxhf9j8svr5x6dhsdnglddwisis8hdn504scpfj"))))
|
||||||
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'patch-helm-shell-history-file
|
||||||
|
(lambda _
|
||||||
|
(let ((file "helm-shell-history.el"))
|
||||||
|
(chmod file #o644)
|
||||||
|
(emacs-substitute-sexps file
|
||||||
|
("(defvar helm-shell-history-file"
|
||||||
|
`(expand-file-name "~/.bash_history"))))
|
||||||
|
#t)))))
|
||||||
|
(home-page "https://github.com/yuutayamada/helm-shell-history")
|
||||||
|
(synopsis "Find shell history with Emacs Helm")
|
||||||
|
(description "This package provides an Emacs Helm interface to search
|
||||||
|
throw a shell history.")
|
||||||
|
(license license:gpl3+))))
|
||||||
|
|
Loading…
Reference in New Issue