pure 1.15.0 (new formula) (#73820)
parent
745ccd12bc
commit
07a8d506fd
|
@ -0,0 +1,21 @@
|
|||
class Pure < Formula
|
||||
desc "Pretty, minimal and fast ZSH prompt"
|
||||
homepage "https://github.com/sindresorhus/pure"
|
||||
url "https://github.com/sindresorhus/pure/archive/v1.16.0.tar.gz"
|
||||
sha256 "152ffa2cffb6b79e10b78c0fb1de0b8461bae87822439d10ea9c749836060eca"
|
||||
license "MIT"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on "zsh" => :test
|
||||
depends_on "zsh-async"
|
||||
|
||||
def install
|
||||
zsh_function.install "pure.zsh" => "prompt_pure_setup"
|
||||
end
|
||||
|
||||
test do
|
||||
zsh_command = "setopt prompt_subst; autoload -U promptinit; promptinit && prompt -p pure"
|
||||
assert_match "❯", shell_output("zsh -c '#{zsh_command}'")
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue