Update elisp/eshell-starship.el
This commit is contained in:
@@ -646,10 +646,10 @@ For example, a revert. If there is no current operation, return nil."
|
|||||||
:allow-remote nil
|
:allow-remote nil
|
||||||
:reload-on 'cwd
|
:reload-on 'cwd
|
||||||
:action (eshell-starship-find-version-function
|
:action (eshell-starship-find-version-function
|
||||||
("stack" "ghc" "--" "--version")
|
("ghc" "--version")
|
||||||
"version \\([0-9.]+\\)$"
|
"version \\([0-9.]+\\)$"
|
||||||
"v" (match-string 1))
|
"v" (match-string 1))
|
||||||
:doc "The current GHC version (as reported by Stack).")
|
:doc "The current GHC version.")
|
||||||
|
|
||||||
(eshell-starship-defmodule java
|
(eshell-starship-defmodule java
|
||||||
:extensions '("java" "class" "gradle" "jar" "clj" "cljc")
|
:extensions '("java" "class" "gradle" "jar" "clj" "cljc")
|
||||||
|
|||||||
Reference in New Issue
Block a user