Gathering detailed insights and metrics for lambda-pure-prompt
Gathering detailed insights and metrics for lambda-pure-prompt
Gathering detailed insights and metrics for lambda-pure-prompt
Gathering detailed insights and metrics for lambda-pure-prompt
npm install lambda-pure-prompt
Typescript
Module System
Min. Node Version
Node Version
NPM Version
Shell (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
123 Stars
219 Commits
36 Forks
2 Watchers
2 Branches
1 Contributors
Updated on Mar 10, 2025
Latest Version
1.0.0
Package Id
lambda-pure-prompt@1.0.0
Size
10.90 kB
NPM Version
3.10.9
Node Version
7.1.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
Pretty, minimal and fast ZSH prompt based on Pure
Most prompts are cluttered, ugly and slow. I wanted something visually pleasing that stayed out of my way.
λ
prompt character. Because lambdas are cool.git
branch and whether it's dirty (with a ×
).git
commits with up/down triangles. (Check is done asynchronously!)0
.Can be installed with npm
or manually. Requires git 2.0.0+ and ZSH 5.0.0+.
1$ npm install --global lambda-pure-prompt
That's it. Skip to Getting started.
lambda-pure.zsh
and async.zsh
Symlink lambda-pure.zsh
to somewhere in $fpath
with the name prompt_lambda-pure_setup
.
Symlink async.zsh
in $fpath
with the name async
.
1$ ln -s "$PWD/lambda-pure.zsh" /usr/local/share/zsh/site-functions/prompt_lambda-pure_setup 2$ ln -s "$PWD/async.zsh" /usr/local/share/zsh/site-functions/async
Run echo $fpath
to see possible locations.
For a user-specific installation (which would not require escalated privileges), simply add a directory to $fpath
for that user:
1# .zshenv or .zshrc 2fpath=( "$HOME/.zfunctions" $fpath )
Then install the theme there:
1$ ln -s "$PWD/lambda-pure.zsh" "$HOME/.zfunctions/prompt_lambda-pure_setup" 2$ ln -s "$PWD/async.zsh" "$HOME/.zfunctions/async"
Initialize the prompt system (if not so already) and choose lambda-pure
:
1# .zshrc 2autoload -U promptinit; promptinit 3prompt lambda-pure
PURE_CMD_MAX_EXEC_TIME
The max execution time of a process before its run time is shown when it exits. Defaults to 5
seconds.
PURE_GIT_PULL
Set PURE_GIT_PULL=0
to prevent Pure from checking whether the current Git remote has been updated.
PURE_GIT_UNTRACKED_DIRTY
Set PURE_GIT_UNTRACKED_DIRTY=0
to not include untracked files in dirtiness check. Only really useful on extremely huge repos like the WebKit repo.
PURE_GIT_DELAY_DIRTY_CHECK
Time in seconds to delay git dirty checking for large repositories (git status takes > 2 seconds). The check is performed asynchronously, this is to save CPU. Defaults to 1800
seconds.
PURE_PROMPT_SYMBOL
Defines the prompt symbol. The default value is λ
.
PURE_GIT_DOWN_ARROW
Defines the git down arrow symbol. The default value is ▼
.
PURE_GIT_UP_ARROW
Defines the git up arrow symbol. The default value is ▲
.
PURE_GIT_DIRTY
Defines the git dirty symbol. The default value is ×
.
1# .zshrc 2 3autoload -U promptinit; promptinit 4 5# optionally define some options 6PURE_CMD_MAX_EXEC_TIME=10 7 8prompt lambda-pure
lambda-pure.zsh
to ~/.oh-my-zsh/custom/themes/lambda-pure.zsh-theme
.ZSH_THEME="lambda-pure"
in your .zshrc
file.Update your .zshrc
file with the following two lines (order matters). Do not use the antigen theme
function.
1$ antigen bundle mafredri/zsh-async 2$ antigen bundle marszall87/lambda-pure
Update your .zshrc
file with the following two lines (order matters):
1$ antibody bundle mafredri/zsh-async 2$ antibody bundle marszall87/lambda-pure
Update your .zshrc
file with the following two lines (order matters):
1$ zgen load mafredri/zsh-async 2$ zgen load marszall87/lambda-pure
MIT © Michał Nykiel based on Pure by Sindre Sorhus
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 4/24 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More