A full-featured & carefully designed adaptive prompt for Bash & Zsh
AGPL-3.0 License
Bot releases are visible (Hide)
Published by dolmen over 8 years ago
Bug fix release only:
Published by dolmen over 8 years ago
LP_COLORMAP_x
variables are replaced by a single LP_COLORMAP
array variable. A warning will be displayed at startup if your config still uses the old variables, but a compatibility shim is active (will be removed in next release).LP_ENABLE_*
settings are now static (their effect applies when liquidprompt is loaded, and changing them at the prompt does nothing) to more and more improve speed.nopromptsubst
is enabled for security reasons. This will unfortunately also affect evaluations of other prompt contexts such as RPS1
.LP_SCREEN_TITLE_OPEN
and LP_SCREEN_TITLE_CLOSE
are now removed to simplify the code (GitHub #371)LP_COLOR_MARK_SUDO
(default: bold red) as long as your sudo credentials are cached (GitHub #335). Requires sudo 1.7.0+. This feature must be enabled with LP_ENABLE_SUDO=1
. Use sudo -K
to revoke your credentials early.LP_TTYN
: the basename of the terminal (GitHub #357)LP_ENABLE_FQDN
to show the fully qualified domain name of the host (GitHub #254, #277)LP_HOSTNAME_ALWAYS=-1
to always hide the hostname (GitHub #406)LP_ENABLE_RUNTIME
) is now also supported on zsh (GitHub #404, #355)CONDA_DEFAULT_ENV
) (GitHub #425)$XDG_CONFIG_HOME
to locate the config (GitHub #415, #420, #425)$PWD
(well, almost, see GitHub #389) and explicitely set the shell options we need (instead of relying on the shell default settings)LP_DISABLED_VCS_PATH
is fixed on zsh (GitHub #423)GREP_OPTIONS
and skip 'grep' aliases (GitHub #372)$PWD
contains spaces or special chars (GitHub #369)LP_PATH_KEEP=-1
: LP_PWD becomes static (related to GitHub #256, #336)LP_ENABLE_SHORTEN_PATH=0
LP_ENABLE_SHORTEN_PATH=0
on bash with PROMPT_DIRTRIM
example.bashrc
: major fixesdist/
to contrib/dist/
as files there are unmaintainedThanks to Matt Fletcher (@MaffooBristol), Kevin Yap (@iKevinY), Sean Hussey (@seanhussey), François Schmidts (@jaesivsm), Morgan Knicely (@morganizeit), Daniel Serodio (@dserodio), Jonathan Giddy (@jongiddy), Jeremy Clement (@jeremyclement), Panayiotis Kkolos (@pkkolos), Arturo Borrero Gonzalez (@aborrero), Samuel Krieg (@SamK), Brian May (@brianmay), Colin Lieberman (@colinlieberman), @hegedus, Anthony Gelibert (@anthonygelibert), Anthony Ramine (@nox), Erik M Jacobs (@thoraxe), Pedro Parracho (@berserck), Brad Beyenhof (@augmentedfourth), Austen Adler (@stonewareslord), Hagen Graf (@hcgraf), William P. Riley-Land (@wprl), Dave Rigby (@daverigby), Ned Batchelder (@nedbat), Fabien Marty (@thefab), Alessio Garzi (@Ozzyboshi), Roger Huang (@rhuang2014), Sebastian Bremicker (@sebrem), Alex Prengere (@alexprengere), Philipp Grogg (@gro-gg), Tener Hades (@tenerhades), Thomas Kühnel (@kuehnelth), Étienne Deparis (@milouse), @Hotschke, Software Mechanic (@softwaremechanic) and Simon McVittie (@smcv) for their patches or bug reports.