pax_global_header00006660000000000000000000000064124307613530014516gustar00rootroot0000000000000052 comment=6c6e1f5e7645473efca0697150b01e50cd3055d4 liquidprompt-v_1.9/000077500000000000000000000000001243076135300144455ustar00rootroot00000000000000liquidprompt-v_1.9/.mailmap000066400000000000000000000027671243076135300161020ustar00rootroot00000000000000nojhan nojhan Alexander Belaev (alexbel) Alex Prengere Alex Prengere Alex Aurélien Requiem Aurélien Requiem Clément Mathieu François Schmidts (jaesivsm) François Schmidts (jaesivsm) François Schmidts (jaesivsm) Frédéric Lepied Étienne Deparis Étienne Deparis Felix Chern (dryman) Jean-Sébastien Leroy Joris Dedieu Joris Dedieu Julien Pecqueur Julien Pecqueur Ludovic Rousseau Matthew Micene (nzwulfin) Nicolas Lacourte Olivier Dupuis Poil M.Poil Poil Poil Thomas Debesse Rolf Morel (polyphemus) Wilson Maravilha (algaerhythm) Yannack liquidprompt-v_1.9/CHANGES000066400000000000000000000046531243076135300154500ustar00rootroot00000000000000 1.9 2014-11-?? dolmen (Olivier Mengué) Bug fixes: - Battery indicator: * General fixes (Github #264) * MacOS: fix for computers without battery (like iMacs) (Github #319) * Optimize colormap - Temperature indicator: * Linux: Add a guard against any future l10n of the 'acpi' command * Linux: Fix for negative temperature values (Github #308) - CPU load: * Darwin/BSD: quoting fixes - Hostname: * Fix colorization for SSH * Simplify chroot detection - VCS: - Git: * Use --porcelain for "git status" (Github #270) * Minir optimization (Github #266) - Fossil: * Cleanup and fixes (Github #274 and others) - Subversion: * Fix branch/tag name extraction (Github #117, #237, #293) - Bazar: * Fix branch name extraction * zsh fixes (Github #303) - Mercurial: * General cleanup for speed and fixes * Disabled "hg outgoing" because it is slow (Github #217) - Shortened path: * Bash: Fix quoting for PROMPT_DIRTRIM - Prompt mark: * Simplify implementation of LP_MARK_DEFAULT - Jobs: * Refactoring * Fix when screen/tmux are not installed (Github #304) - Analog clock: * Fix hour for 12AM and 12PM (Github #273) - Misc: * bash: save and set 'promptvars' * bash: workaround broken pattern substitution in bash 4.2 (Github #289, #294, #302) * zsh: fix restoration of the original (pre-liquidprompt) prompt * Fix tmux detection (Github #279) * Save IFS (Github #267) * Fix $TERM check (Github #291) * Various quoting fixes * Apply some shellcheck.com suggestions * Many, many optimizations (Github #267) New features: - Add vcsh support (Github #148, #287) - Add support for Software Collections (Github #299, #300) Thanks to Anthony Gelibert, Frédéric Mahé, Panayiotis Kkolos, Étienne Deparis, Frençois Schmidts, Linus Wallgren, Alexander Belaev, Bartosz Janda, Brett McBride, Chase Colman, Cosmin L. Neagu, Matthew Micene, Vincent Lara, Wilson Maravilha and Yannack for their patches. Thanks to all the other contributors who reported issues or proposed patches that have not been applied. 1.8 2014-01-15 dolmen (Olivier Mengué) 1.7 2013-11-30 nojhan 1.6 2013-05-14 nojhan 1.5 2013-04-20 nojhan 1.4 2013-04-11 nojhan 1.3 2013-03-11 nojhan 1.2 2013-01-16 nojhan 1.1 2012-08-16 nojhan 1.0 2012-08-10 nojhan 0.0 2011-02-05 nojhan liquidprompt-v_1.9/CONTRIBUTING.md000066400000000000000000000074571243076135300167130ustar00rootroot00000000000000Contributing to Liquid Prompt ============================= Contributing a patch -------------------- The public stable branch for end users is `master`. The main branch for development is `develop`. This is on top of this branch that you must write your patches. Any pull request built on top of `master` instead of `develop` is additional merge work for maintainers, and you want to avoid this if you aim for quick integration of your work. If you wrote your patch on the wrong branch the maintainers may choose to close the pull request and ask you to rewrite it on top of the current `develop`. How to do the right thing? -------------------------- $ git clone -b develop -o upstream git://github.com/nojhan/liquidprompt.git $ cd liquidprompt # Run liquidprompt and check that your issue is still on that branch $ source liquidprompt # Prepare a fix (include the issue number in the branch name if an issue # already exists) $ git checkout -b fix/my-fix # Prepare a new feature $ git checkout -b feature/my-feature # Hack, commit, hack, commit... # Fork the project on Github (if you haven t yet) # Add the remote target for pushes $ git remote add github git@github.com:$GITHUB_USER/liquidprompt.git # Check that your local repo is up to date $ git fetch # Rebase your work on the latest state of `develop` $ git rebase upstream/develop # Push $ git push github fix/my-fix $ git push github fix/my-feature # Create the pull request on Github. Check that Github choose the `develop` # branch as the starting point for your branch. How to make a good pull request? -------------------------------- 1. Check that your git settings for authorship are right: $ git config -l | grep ^user\. 2. All the commits in the pull request must be on the same topic. If instead you propose fixes on different topics, use separate branches in your repo and make a pull request for each. 3. Good commit messages: - first line must be 72 chars max and is a summary of the commit - second line must be empty - following lines (72 chars max) are optional and take this space freely to express what that changes does. Use references to Github issues number (ex: `#432`) if applicable 4. Use a good title for your pull request 5. Put details, web links, in the pull request body. Use Markdown fully to format the content (see [Markdown syntax](http://daringfireball.net/projects/markdown/syntax)). For example use triple backquotes for code blocks. Never, ever, merge the branches `develop` or `master` of the main repo into one of your own branches. Instead, always rebase your own work on top the `develop` branch. How my patch will be applied? ----------------------------- Before being applied, your pull request will be reviewed, by the maintainer and also by other users. You can also help the project by reviewing others pull requests. If your patch is accepted it will be applied either: - by "merging" your branch - by cherry-picking your commit on top of the `develop` branch. This makes the history linear, and so easier to track. In any case, your authorship will be preserved in the commit. What if my patch is not applied? -------------------------------- If you don't even get a review, add a "ping" comment with increasing delay between pings: 1 week, 2 weeks, then every month. If a stable version is released while your pull request has still not been merged on any working branch of the main repo, it would be helpful to ease the maitainer's work by rebasing your branch on top of the latest `develop` and push it again to your Github repo. Be careful (for example create a branch or a tag before your rebase) because your may lose all your work in that process. Olivier Mengué, maintainer. http://github.com/dolmen liquidprompt-v_1.9/LICENSE000066400000000000000000001033301243076135300154520ustar00rootroot00000000000000 GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software. A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public. The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version. An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU Affero General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Remote Network Interaction; Use with the GNU General Public License. Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see . liquidprompt-v_1.9/README.md000066400000000000000000000366031243076135300157340ustar00rootroot00000000000000Liquid prompt — A useful adaptive prompt for Bash & Zsh ======================================================== Liquid prompt gives you a nicely displayed prompt with useful information when you need it. It shows you what you need when you need it. You will notice what changes, when it changes saving time and frustration. And you can even use it with your favorite shell, Bash or Zsh. ![Screenshot](https://raw.github.com/nojhan/liquidprompt/master/demo.png) ## FEATURES If there is nothing special in the current context, the liquid prompt is close to a default prompt: `[user:~] $ ` If you are running a command in the background that is still running and you are in a git repository on a server, on branch "myb": `1r [user@server:~/liquidprompt] myb ± ` A liquid prompt displaying everything (a rare event!) may look like this: `code 🕤 ⌁24% ⌂42% 3d/2&/1z [user@server:~/ … /code/liquidprompt][pyenv]↥ master(+10/-5,3)*+ 125 ± ` It (may) display: * A tag associated to the current shell session (you can easily add any prefix tag to your prompt, by invoking `prompt_tag MYTAG`). * The current time, either as numeric values or an analog clock, * a green ⏚ if the battery is charging, above the given threshold, but not charged, a yellow ⏚ if the battery is charging and under threshold, a yellow ⌁ if the battery is discharging but above threshold, a red ⌁ if the battery is discharging and under threshold; * the average of the batteries remaining power, if it is under the given threshold, with a colormap, going more and more red with decreasing power; * the average of the processors load, if it is over a given limit, with a colormap that becomes more and more noticeable with increasing load; * the average temperature of the available sensors in the system (generally CPU and MB); * the number of detached sessions (`screen` or `tmux`), if there are any; * the number of attached sleeping jobs (when you interrupt a command with Ctrl-Z and bring it back with `fg`), if there are any; * the number of attached running jobs (commands started with a `&`), if there are any; * a pair of square brackets, in blue if your current shell is running in a terminal multiplexer (`screen` or `tmux`); * the current user, in bold yellow if it is root, in light white if it is not the same as the login user; * a green @ if the connection has X11 support, a yellow one if not; * the current host, if you are connected via a telnet connection (in bold red) or SSH (either a blue hostname or different colors for different hosts); * a green colon if the user has write permissions on the current directory, a red one if he has not; * the current directory in bold, shortened if it takes too much space, while preserving the first two directories; * the current Python virtual environment, if any; * an up arrow if an HTTP proxy is in use; * the name of the current branch if you are in a version control repository (git, mercurial, subversion, bazaar or fossil), in green if everything is up to date, in red if there are changes, in yellow if there are pending commits to push; * the number of added/deleted lines if changes have been made and the number of pending commits, if any; * a yellow plus if there is stashed modifications; * a red star if there is some untracked files in the repository; * the runtime of the last command, if it has exceeded a certain threshold; * the error code of the last command, if it has failed in some way; * a smart mark: ± for git directories, ☿ for mercurial, ‡ for svn, ‡± for git-svn, ⌘ for fossil, $ or % for simple user, a red # for root; * if you ask for, the liquidprompt will be replicated in your terminal window's title (without the colors); You can temporarily deactivate the liquid prompt and come back to your previous one by typing `prompt_off`. Use `prompt_on` to bring it back. You can deactivate any prompt and use a single mark sign (`$ ` for user and `# ` for root) with the `prompt_OFF` command. ## TEST RIDE AND INSTALLATION Installation is simple. The basic dependencies are standard available on Unix. Please check if they are met if you experience some problems during the installation. See the DEPENDENCIES section for what you need. Follow these steps: ``` cd git clone https://github.com/nojhan/liquidprompt.git source liquidprompt/liquidprompt ``` To use it every time you start a shell add the following line to your `.bashrc` (if you use bash) or `.zshrc` (if you use zsh): `source ~/liquidprompt/liquidprompt` Next up is the configuration, you can skip this step if you already like the defaults: `cp ~/liquidprompt/liquidpromptrc-dist ~/.config/liquidpromptrc` You can also copy the file to `~/.liquidpromptrc`. Use your favorite text editor to change the defaults. The `liquidpromptrc` file is richly commented and easy to set your own defaults. You can even theme liquidprompt and have a custom PS1. This is explained in the sections below. Check in your `.bashrc` that the `PROMPT_COMMAND` variable is not set, or else the prompt will not be available. ### INSTALLATION VIA ANTIGEN To install via antigen, simply add the following line in your .zshrc after activating antigen: ``` antigen bundle nojhan/liquidprompt ``` ## DEPENDENCIES Apart from obvious ones, some features depend on specific commands. If you do not install them, the corresponding feature will not be available, but you will see no error. * battery status needs `acpi` on GNU/Linux. * temperature status needs `acpi` or `lm-sensors` on GNU/Linux. * detached sessions is looking for `screen` and/or `tmux`. * VCS support features needs… `git`, `hg`, `svn`, `bzr` or `fossil`, but you knew it. For other features, the script uses commands that should be available on a large variety of unixes: `tput`, `grep`, `awk`, `sed`, `ps`, `who`, `expr`. ## FEATURES CONFIGURATION You can configure some variables in the `~/.config/liquidpromptrc` file: * `LP_BATTERY_THRESHOLD`, the maximal value under which the battery level is displayed * `LP_LOAD_THRESHOLD`, the minimal value after which the load average is displayed * `LP_TEMP_THRESHOLD`, the minimal value after which the temperature average is displayed * `LP_RUNTIME_THRESHOLD`, the minimal value after which the runtime is displayed * `LP_PATH_LENGTH`, the maximum percentage of the screen width used to display the path * `LP_PATH_KEEP`, how many directories to keep at the beginning of a shortened path * `LP_HOSTNAME_ALWAYS`, choose between always displaying the hostname or showing it only when connected with a remote shell * `LP_USER_ALWAYS`, choose between always displaying the user or showing it only when he is different from the logged one You can also force some features to be disabled, to save some time in the prompt building: * `LP_ENABLE_PERM`, if you want to detect if the directory is writable * `LP_ENABLE_SHORTEN_PATH`, if you want to shorten the path display * `LP_ENABLE_PROXY`, if you want to detect if a proxy is used * `LP_ENABLE_JOBS`, if you want to have jobs informations * `LP_ENABLE_LOAD`, if you want to have load informations * `LP_ENABLE_BATT`, if you want to have battery informations * `LP_ENABLE_GIT`, if you want to have git informations * `LP_ENABLE_SVN`, if you want to have subversion informations * `LP_ENABLE_HG`, if you want to have mercurial informations * `LP_ENABLE_BZR`, if you want to have bazaar informations * `LP_ENABLE_FOSSIL`, if you want to have fossil informations * `LP_ENABLE_VCS_ROOT`, if you want to show VCS informations with root account * `LP_ENABLE_TITLE`, if you want to use the prompt as your terminal window's title * `LP_ENABLE_SCREEN_TITLE`, if you want to use the prompt as your screen window's title * `LP_ENABLE_SSH_COLORS`, if you want different colors for hosts you SSH in * `LP_ENABLE_RUNTIME`, if you want to display the runtime of the last command * `LP_ENABLE_TIME`, if you want to display the time at which the prompt was shown * `LP_TIME_ANALOG`, when showing time, use an analog clock instead of numeric values Note that if required commands are not installed, enabling the corresponding feature will have no effect. Note also that all the `LP_ENABLE_…` variables override the templates, i.e. if you use `$LP_BATT` in your template and you set `LP_ENABLE_BATT=0` in your config file, you will not have the battery informations. If you are using bash and want to use the `PROMPT_DIRTRIM` built-in functionality to shorten but still have liquidprompt calculating the number of directories to keep in the path, precise a value for `PROMPT_DIRTRIM` before sourcing liquidprompt and liquidprompt will override this value with one fitting the width of your terminal. You may face performances decrease when using VCS located in remote directories. To avoid that, you can set the `LP_DISABLED_VCS_PATH` variable to a list of absolute and colon (":") separated paths where VCS-related features will be disabled. ## CUSTOMIZING THE PROMPT ### ADD A PREFIX/POSTFIX You can prefix the `LP_PS1` variable with anything you want using the `LP_PS1_PREFIX`. The following example activate a custom window's title: LP_PS1_PREFIX="\[\e]0;\u@\h: \w\a\]" To postfix the prompt, use the `LP_PS1_POSTFIX` variable. For example, to add a newline and a single character: LP_PS1_POSTFIX="\n>" Note: the `prompt_tag` function is convenient way to add a prefix. You can thus add a keyword to your different terminals: [:~/code/liquidprompt] develop ± prompt_tag mycode mycode [:~/code/liquidprompt] develop ± ### PUT THE PROMPT IN A DIFFERENT ORDER You can sort what you want to see by sourcing your favorite template file (`*.ps1`) in the configuration file. You can start from the `liquid.ps1` file, which show the default settings. To use your own configuration, just set `LP_PS1_FILE` to your own file path in your `~/.liquipromptrc` and you're done. Those scripts basically export the `LP_PS1` variable, by appending features and theme colors. Available features: * `LP_BATT` battery * `LP_LOAD` load * `LP_TEMP` temperature * `LP_JOBS` detached screen or tmux sessions/running jobs/suspended jobs * `LP_USER` user * `LP_HOST` hostname * `LP_PERM` a colon ":" * `LP_PWD` current working directory * `LP_PROXY` HTTP proxy * `LP_VCS` informations concerning the current working repository * `LP_ERR` last error code * `LP_MARK` prompt mark * `LP_TITLE` the prompt as a window's title escaped sequences * `LP_BRACKET_OPEN` and `LP_BRACKET_CLOSE`, brackets enclosing the user+path part For example, if you just want to have a liquidprompt displaying the user and the host, with a normal full path in blue and only the git support: export LP_PS1=`echo -ne "[\${LP_USER}\${LP_HOST}:\${BLUE}\$(pwd)\${NO_COL}] \${LP_GIT} \\\$ "` Note that you need to properly escape dollars in a string that wil be interpreted by bash at each prompt. To erase your new formatting, just bring the `LP_PS1` to a null string: export LP_PS1="" ## THEMES You can change the colors and special characters of some part of the liquid prompt by sourcing your favorite theme file (`*.theme`) in the configuration file. ### COLORS Available colors are: BOLD, BLACK, BOLD_GRAY, WHITE, BOLD_WHITE, GREEN, BOLD_GREEN, YELLOW, BOLD_YELLOW, BLUE, BOLD_BLUE, PINK, CYAN, BOLD_CYAN RED, BOLD_RED, WARN_RED, CRIT_RED, DANGER_RED, NO_COL. Set to a null string "" if you do not want color. * Current working directory * `LP_COLOR_PATH` as normal user * `LP_COLOR_PATH_ROOT` as root * Color of the proxy mark * `LP_COLOR_PROXY` * Jobs count * `LP_COLOR_JOB_D` Detached (screen/tmux sessions without attached clients) * `LP_COLOR_JOB_R` Running (xterm &) * `LP_COLOR_JOB_Z` Sleeping (Ctrl-Z) * `LP_COLOR_IN_MULTIPLEXER` currently running in a terminal multiplexer * Last error code * `LP_COLOR_ERR` * Prompt mark * `LP_COLOR_MARK` as user * `LP_COLOR_MARK_ROOT` as root * `LP_MARK_PREFIX="\n"` put the prompt on the second line * Current user * `LP_COLOR_USER_LOGGED` user who logged in * `LP_COLOR_USER_ALT` user but not the one who logged in * `LP_COLOR_USER_ROOT` root * Hostname * `LP_COLOR_HOST` local host * `LP_COLOR_SSH` connected via SSH * `LP_COLOR_TELNET` connected via telnet * `LP_COLOR_X11_ON` connected with X11 support * `LP_COLOR_X11_OFF` connected without X11 support * Separation mark (by default, the colon before the path) * `LP_COLOR_WRITE` have write permission * `LP_COLOR_NOWRITE` do not have write permission * VCS * `LP_COLOR_UP` repository is up to date / a push have been made * `LP_COLOR_COMMITS` some commits have not been pushed * `LP_COLOR_CHANGES` there is some changes to commit * `LP_COLOR_DIFF` number of lines or files impacted by current changes * Battery * `LP_COLOR_CHARGING_ABOVE` charging and above threshold * `LP_COLOR_CHARGING_UNDER` charging but under threshold * `LP_COLOR_DISCHARGING_ABOVE` discharging but above threshold * `LP_COLOR_DISCHARGING_UNDER` discharging and under threshold ### CHARACTERS Special characters: * `LP_MARK_DEFAULT` (default: "") the mark you want at the end of your prompt (leave to empty for your shell default mark) * `LP_MARK_BATTERY` (default: "⌁") in front of the battery charge * `LP_MARK_ADAPTER` (default: "⏚") displayed when plugged * `LP_MARK_LOAD` (default: "⌂") in front of the load * `LP_MARK_PROXY` (default: "↥") indicate a proxy in use * `LP_MARK_HG` (default: "☿") prompt mark in hg repositories * `LP_MARK_SVN` (default: "‡") prompt mark in svn repositories * `LP_MARK_GIT` (default: "±") prompt mark in git repositories * `LP_MARK_FOSSIL` (default: "⌘") prompt mark in fossil repositories * `LP_MARK_BZR` (default: "⚯") prompt mark in bazaar repositories * `LP_MARK_DISABLED` (default: "⌀") prompt mark in disabled repositories (see `LP_DISABLED_VCS_PATH`) * `LP_MARK_UNTRACKED` (default: "\*") if git has untracked files * `LP_MARK_STASH` (default: "+") if git has stashed modifications * `LP_MARK_BRACKET_OPEN` (default: "[") marks around the main part of the prompt * `LP_MARK_BRACKET_CLOSE` (default: "]") marks around the main part of the prompt * `LP_TITLE_OPEN` (default: "\e]0;") escape character opening a window's title * `LP_TITLE_CLOSE` (default: "\a") escape character closing a window's title * `LP_SCREEN_TITLE_OPEN` (default: "\033k") escape character opening screen window's title * `LP_SCREEN_TITLE_CLOSE` (default: "\033\134") escape character closing screen window's title ## KNOWN LIMITATIONS AND BUGS Liquid prompt is distributed under the [GNU Affero General Public License version 3](LICENSE). * Does not display the number of commits to be pushed in Mercurial repositories. * Browsing into very large subversion repositories may dramatically slow down the display of the liquid prompt (use `LP_DISABLED_VCS_PATH` to avoid that). * Subversion repository cannot display commits to be pushed, this is a limitation of the Subversion versioning model. * The proxy detection only uses the `$http_proxy` environment variable. * The window's title escape sequence may not work properly on some terminals (like xterm-256) * The analog clock necessitate a Unicode-aware terminal and a at least one sufficiently complete font on your system. The [Symbola](http://users.teilar.gr/~g1951d/) font, designed by Georges Douros, is known to work well. * Displaying the runtime currently only works with bash ## AUTHORS Current Maintainer: [![endorse](https://api.coderwall.com/dolmen/endorsecount.png)](https://coderwall.com/dolmen) Original author: [![endorse](https://api.coderwall.com/nojhan/endorsecount.png)](https://coderwall.com/nojhan) And many contributors! liquidprompt-v_1.9/demo.png000066400000000000000000004011131243076135300160770ustar00rootroot00000000000000PNG  IHDR<sRGBbKGDC pHYs  tIME c$` IDATxy|TwL&d!!d# ;"hDH؍) (BV ! btYZ׺گ_ڪEhok[wdc_zWfsιs=9ϣdZ/O17?xcg/c_=MP`EycXV"5 ̊l6'8v|ҍ#G ?$Q?رc룔N2d b-qD\ziM[^", \硷٩ᆮrq ,IDQnO1̆d />H9bMp;vvY󰸺vkă 5f1Q*)=NkJ QD1bTb\Sc!8tBT#,%~lp8^"F$my 3oCb국Vd ,nZsYOjbW/jm|و؀)FXli]̑QVT+敱lNgA-x$rc=[g-،YΡZ-,(_NXQp?IsՊb|>_}'(igu}3w2geDI&FD3⓪QZ~S&I8MzmD a;/G4,ZjPW "Q?igEͯ>o⚒Q>T";Z38 A*gP 3uԖ=@G.w{Ftg,_ATՖ]MCQbi2L14Xse0EgryJv HDDd >!+1 MљkıOum$zdT~\u6ۢx,͐]8zjɆJPlXGM*' g$hۀiWZ$NsLQp:ɳWžaU9XRf(U g|P' }]g`,b(JfHn.,/--{س_楼»oucnU bE۟3Yq[@"gqQ{ē&gVsCnuiWxT(ҋeziAiFj{7~v$kX/79.PíjE Mv ̷o`zq FG1taW+BhhJhW X|i~ozK;j#ӥ)n7t3K̺sU0fn}|3GzY.[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`liquidprompt-v_1.9/dist/000077500000000000000000000000001243076135300154105ustar00rootroot00000000000000liquidprompt-v_1.9/dist/archlinux-aur/000077500000000000000000000000001243076135300201725ustar00rootroot00000000000000liquidprompt-v_1.9/dist/archlinux-aur/PKGBUILD000066400000000000000000000017441243076135300213240ustar00rootroot00000000000000# Maintainer: Julien Pecqueur (JPEC) pkgname=liquidprompt-git pkgver=20130314 pkgrel=3 pkgdesc="An intelligent and non intrusive prompt for bash and zsh" url="https://github.com/nojhan/liquidprompt" arch=('any') license=('AGPLv3') optdepends=('screen' 'acpi') makedepends=('git') md5sums=('SKIP') install=liquidprompt.install _gitroot="git://github.com/nojhan/liquidprompt.git" _gitname="liquidprompt" build() { cd ${srcdir}/ msg "Connecting to the GIT server...." if [[ -d ${srcdir}/${_gitname} ]] ; then cd ${_gitname} git reset --hard git pull origin msg "The local files are updated..." else msg "Cloning git repo..." git clone ${_gitroot} cd ${_gitname} fi git reset --hard msg "GIT checkout done." } package() { cd "${srcdir}/${_gitname}" # install files install -Dm755 liquidprompt "$pkgdir/usr/bin/liquidprompt" install -Dm644 liquidpromptrc-dist "$pkgdir/etc/liquidpromptrc" } # vim:set ts=2 sw=2 et: liquidprompt-v_1.9/dist/archlinux-aur/liquidprompt-git-20130314-1.src.tar.gz000066400000000000000000000012211243076135300264460ustar00rootroot00000000000000 BQUmO0s~) >$}RLb0!^&UTU\c鴡ӌ Gj{|uDV]5.z~q? ϥvmq'8v--bv{ʿ9ɇ/Xq>:>hw ~F ?6|bB9Y%*"2{6xJ#WlܣLB>(gn&Iqҡ_ve -OCT3T@3se6jf:à22 sJ;"*W}H髜h]K0t SRpT><^;DeXʬ BnYnME=lUx鐈㒆}r}2݃gsk τYDdvV jNNN/B S|W֯TTs`ТV+g&#JJFrm4H͙h̘ìу*Hj/ ZVFoaS<(.s׺rQ>ʿk6UslӁB6[-mq֧Fy&NDy"V&Z&t<Poa;~/t}x KL liquidprompt-v_1.9/dist/archlinux-aur/liquidprompt-git-20130314-3.src.tar.gz000066400000000000000000000013341243076135300264550ustar00rootroot00000000000000i~QUmo0WJ !1k/~B2A\Vgm#A7mΒLIf#fG8X΅5ZqQw \!׆(KEIi{ɾ~|Wǯmd5?*a+rxyw3a6圡.sgOG&C#SسK 4l<dir)N=a#j:Y!4܏5l~䜍P "! 5"OT0 :- debian-binary 1364664447 0 0 100644 4 ` 2.0 control.tar.gz 1364664447 0 0 100644 455 ` _0°-g FbSg=oX? FOFos'~X($[e냓vX#56lviSM鱫F5Kf'qm!k Y";<~Tj_nogڭΫ&cif XifƥCs6װÓ]$H37ƺMlbB3;buTLaWV?aEq01QVTW٫U{E:׀3{YՀiN5 '%G`+p=,V봹1Ti~csA90 ª1ʰ>N:gGڜZA/yQF0ԕHX/Xh8*V5IJ֒Y}SEl:#`~yiesáG ra6WV@W\ udUׁxWoԂ k(P%N[Y'"(E%Ɩ[KȞgqv_\bPj 1|=gC nYos^ܲQe~s̼J(n}&^Xgp1z=wYw:əVFH0(}P,^~,.;b>JYsrx3}ȶǡK&6H^";\*V`n@cBI/WaJQ:/Dkǒw:X.EԎ٥5ޢ zWMUk[O} G lora9G&c}_|q 54!QL?6[eo^v}| -W]Jf'djb!X Ьj"/"{gǭN흴6;nnyT&P_A;lW-t}62=abA{PŬKQd?\%#QLЙ\opg94j;#ko'v *SjL clͩ_U3#TWdGGDq`9F<"Ǔj& AZg 6X K6<wMpIw1O&v8Fiq,sUbL\/>Y}&Ixi|6@ ~q KC`vӂNB}L"C9?Ƶal L?lMЏI>Oz19gjOX Bj`igA't^RmW2+r1Yx` N{0^~?.VOփ/^ ݼXUֵ'ݡt#1!!+ *.{z cځUL/M>{I,49vm7.6.Z|:e6jU {T?m&VIr.Y/5d9&,v)f<خ<Ao9` 1Kh;}Ә&Jy")F piV؂>4nى=uxҋXf v 2R'黎d1>  NXĦCRR!@V`2E+^nw^u_ڝ"<ӈ^Z"{9inԬ˵'bB&YN6# @»wY@]}K6_ N!f'ENx&X,{x}sxy:5OP,ԫv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500000000000000000000000001243076135300213635ustar00rootroot00000000000000liquidprompt-v_1.9/dist/debian/liquidprompt/DEBIAN/000077500000000000000000000000001243076135300223055ustar00rootroot00000000000000liquidprompt-v_1.9/dist/debian/liquidprompt/DEBIAN/control000066400000000000000000000004621243076135300237120ustar00rootroot00000000000000Package: liquidprompt Version: 1.3-0 Section: base Priority: optional Architecture: all Depends: bash Recommends: acpi Suggests: git, screen, tmux Maintainer: Julien Pecqueur Description: A slick adaptative prompt for Bash and Zsh. Homepage: http://github.com/nojhan/liquidprompt liquidprompt-v_1.9/example.bashrc000066400000000000000000000010661243076135300172670ustar00rootroot00000000000000 # if you want to use the liquidprompt without bothering about its configuration, # just: # cp example.bashrc ~/.bashrc # This part is a minimalist bash config file example # Use the system config if any if [ -f /etc/bashrc ]; then . /etc/bashrc # --> Read /etc/bashrc, if present. fi # Use bash completion, if installed if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi # If you have your own config for the liquid prompt, edit and uncomment this line: # source /path/to/liquidpromptrc # Use the liquidprompt source ~/.liquidprompt liquidprompt-v_1.9/liquid.ps1000066400000000000000000000031721243076135300163640ustar00rootroot00000000000000 ####################################### # LIQUID PROMPT DEFAULT TEMPLATE FILE # ####################################### # Available features: # LP_BATT battery # LP_LOAD load # LP_JOBS screen sessions/running jobs/suspended jobs # LP_USER user # LP_HOST hostname # LP_PERM a colon ":" # LP_PWD current working directory # LP_VENV Python virtual environment # LP_PROXY HTTP proxy # LP_VCS the content of the current repository # LP_ERR last error code # LP_MARK prompt mark # LP_TIME current time # LP_RUNTIME runtime of last command # LP_MARK_PREFIX user-defined prompt mark prefix (helpful if you want 2-line prompts) # LP_PS1_PREFIX user-defined general-purpose prefix (default set a generic prompt as the window title) # LP_PS1_POSTFIX user-defined general-purpose postfix # LP_BRACKET_OPEN open bracket # LP_BRACKET_CLOSE close bracket # Remember that most features come with their corresponding colors, # see the README. # add time, jobs, load and battery LP_PS1="${LP_PS1_PREFIX}${LP_TIME}${LP_BATT}${LP_LOAD}${LP_JOBS}" # add user, host and permissions colon LP_PS1="${LP_PS1}${LP_BRACKET_OPEN}${LP_USER}${LP_HOST}${LP_PERM}" LP_PS1="${LP_PS1}${LP_PWD}${LP_BRACKET_CLOSE}${LP_VENV}${LP_PROXY}" # Add VCS infos # If root, the info has not been collected unless LP_ENABLE_VCS_ROOT # is set. LP_PS1="${LP_PS1}${LP_VCS}" # add return code and prompt mark LP_PS1="${LP_PS1}${LP_RUNTIME}${LP_ERR}${LP_MARK_PREFIX}${LP_MARK}${LP_PS1_POSTFIX}" # "invisible" parts # Get the current prompt on the fly and make it a title LP_TITLE="$(_lp_title "$LP_PS1")" # Insert it in the prompt LP_PS1="${LP_TITLE}${LP_PS1}" # vim: set et sts=4 sw=4 tw=120 ft=sh: liquidprompt-v_1.9/liquid.theme000066400000000000000000000106011243076135300167560ustar00rootroot00000000000000 #################################### # LIQUID PROMPT DEFAULT THEME FILE # #################################### # Special characters # Be sure to use characters that exists in the font you use. You can use several # characters at once. # Below is an example of how to fallback to ascii if the term is not unicode capable. # Defaults to UTF-8 characters. if [[ "$(locale -k LC_CTYPE | sed -n 's/^charmap="\(.*\)"/\1/p')" == *"UTF-8"* ]]; then # If charset is UTF-8. LP_MARK_BATTERY="⌁" # in front of the battery charge LP_MARK_ADAPTER="⏚" # displayed when plugged LP_MARK_LOAD="⌂" # in front of the load LP_MARK_TEMP="θ" # in front of the temp LP_MARK_PROXY="↥" # indicate a proxy in use LP_MARK_HG="☿" # prompt mark in hg repositories LP_MARK_SVN="‡" # prompt mark in svn repositories LP_MARK_GIT="±" # prompt mark in git repositories LP_MARK_FOSSIL="⌘" # prompt mark in fossil repositories LP_MARK_DISABLED="⌀" # prompt mark in directory with disabled VCS info LP_MARK_UNTRACKED="*" # if git has untracked files LP_MARK_STASH="+" # if git has stashs LP_MARK_SHORTEN_PATH=" … " # prompt mark in shortened paths else # If charset is anything else, fallback to ASCII chars LP_MARK_BATTERY="b" LP_MARK_ADAPTER="p" LP_MARK_LOAD="c" LP_MARK_TEMP="T" LP_MARK_PROXY="^" LP_MARK_HG="m" LP_MARK_SVN="=" LP_MARK_GIT="+" LP_MARK_FOSSIL="f" LP_MARK_DISABLED="!" LP_MARK_UNTRACKED="*" LP_MARK_STASH="+" LP_MARK_SHORTEN_PATH=" ... " fi LP_MARK_BRACKET_OPEN="[" # open bracket LP_MARK_BRACKET_CLOSE="]" # close bracket #LP_MARK_DEFAULT="" # default prompt mark LP_MARK_PREFIX=" " # prompt mark prefix LP_PS1_PREFIX="" LP_PS1_POSTFIX="" # Colors # Available colors are: # BOLD, BLACK, BOLD_GRAY, WHITE, BOLD_WHITE, # RED, BOLD_RED, WARN_RED, CRIT_RED, DANGER_RED, # GREEN, BOLD_GREEN, YELLOW, BOLD_YELLOW, BLUE, # BOLD_BLUE, PURPLE, PINK, CYAN, BOLD_CYAN # Set to a null string "" if you do not want color. # Current working directory LP_COLOR_PATH="$BOLD" # as normal user LP_COLOR_PATH_ROOT="$BOLD_YELLOW" # as root # Color of the proxy mark LP_COLOR_PROXY="$BOLD_BLUE" # Jobs count LP_COLOR_JOB_D="$YELLOW" # Detached (aka screen sessions) LP_COLOR_JOB_R="$BOLD_YELLOW" # Running (xterm &) LP_COLOR_JOB_Z="$BOLD_YELLOW" # Sleeping (Ctrl-Z) # Last error code LP_COLOR_ERR="$PURPLE" # Prompt mark LP_COLOR_MARK="$BOLD" # as user LP_COLOR_MARK_ROOT="$BOLD_RED" # as root # Current user LP_COLOR_USER_LOGGED="" # user who logged in LP_COLOR_USER_ALT="$BOLD" # user but not the one who logged in LP_COLOR_USER_ROOT="$BOLD_YELLOW" # root # Hostname LP_COLOR_HOST="" # local host LP_COLOR_SSH="$BLUE" # connected via SSH LP_COLOR_SU="$BOLD_YELLOW" # connected remotely but in new environment through su/sudo LP_COLOR_TELNET="$WARN_RED" # connected via telnet LP_COLOR_X11_ON="$GREEN" # connected with X11 support LP_COLOR_X11_OFF="$YELLOW" # connected without X11 support # Separation mark (aka permission in the working dir) LP_COLOR_WRITE="$GREEN" # have write permission LP_COLOR_NOWRITE="$RED" # do not have write permission # VCS LP_COLOR_UP="$GREEN" # repository is up to date / a push have been made LP_COLOR_COMMITS="$YELLOW" # some commits have not been pushed LP_COLOR_CHANGES="$RED" # there is some changes to commit LP_COLOR_DIFF="$PURPLE" # number of lines impacted by current changes # Battery LP_COLOR_CHARGING_ABOVE="$GREEN" # charging and above threshold LP_COLOR_CHARGING_UNDER="$YELLOW" # charging but under threshold LP_COLOR_DISCHARGING_ABOVE="$YELLOW" # discharging but above threshold LP_COLOR_DISCHARGING_UNDER="$RED" # discharging and under threshold # Time LP_COLOR_TIME="$BLUE" # Brackets inside screen/tmux LP_COLOR_IN_MULTIPLEXER="$BOLD_BLUE" # Virtual environment LP_COLOR_VIRTUALENV="$CYAN" # Runtime LP_COLOR_RUNTIME="$YELLOW" # Color maps (battery and load levels) # Range from 0 (nothing special) to 9 (alert) LP_COLORMAP_0="" LP_COLORMAP_1="$GREEN" LP_COLORMAP_2="$BOLD_GREEN" LP_COLORMAP_3="$YELLOW" LP_COLORMAP_4="$BOLD_YELLOW" LP_COLORMAP_5="$RED" LP_COLORMAP_6="$BOLD_RED" LP_COLORMAP_7="$WARN_RED" LP_COLORMAP_8="$CRIT_RED" LP_COLORMAP_9="$DANGER_RED" # vim: set et sts=4 sw=4 tw=120 ft=sh: liquidprompt-v_1.9/liquidprompt000077500000000000000000001605431243076135300171350ustar00rootroot00000000000000################################################################################ # LIQUID PROMPT # An intelligent and non intrusive prompt for bash and zsh ################################################################################ # Licensed under the AGPL version 3 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . ########### # AUTHORS # ########### # Alex Prengère # Untracked git files # Anthony Gelibert # Several fix # Aurelien Requiem # Major clean refactoring, variable path length, error codes, several bugfixes. # Brendan Fahy # Postfix variable # Clément Mathieu # Bazaar support # David Loureiro # Small portability fix # Étienne Deparis # Fossil support # Florian Le Frioux # Use ± mark when root in VCS dir. # François Schmidts # Initial PROMPT_DIRTRIM support # Frédéric Lepied # Python virtual env # Jonas Bengtsson # Git remotes fix # Joris Dedieu # Portability framework, FreeBSD support, bugfixes. # Joris Vaillant # Small git fix # Luc Didry # ZSH port, several fix # Ludovic Rousseau # Lot of bugfixes. # Markus Dreseler # Runtime of last command # Nicolas Lacourte # Screen title # nojhan # Original author. # Olivier Mengué # Major optimizations, refactorings everywhere; current maintainer # Poil # Speed improvements # Rolf Morel # "Shorten path" refactoring and fixes # Thomas Debesse # Fix columns use. # Yann 'Ze' Richard # Do not fail on missing commands. # See the README.md file for a summary of features. # Issue #161: do not load if not an interactive shell test -z "$TERM" -o "x$TERM" = xdumb && return # Check for recent enough version of bash. if test -n "$BASH_VERSION" -a -n "$PS1" ; then bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.} if [[ $bmajor -lt 3 ]] || [[ $bmajor -eq 3 && $bminor -lt 2 ]]; then unset bash bmajor bminor return fi unset bash bmajor bminor _LP_SHELL_bash=true _LP_SHELL_zsh=false _LP_OPEN_ESC="\[" _LP_CLOSE_ESC="\]" _LP_USER_SYMBOL="\u" _LP_HOST_SYMBOL="\h" _LP_TIME_SYMBOL="\t" _LP_MARK_SYMBOL='\$' _LP_FIRST_INDEX=0 _LP_PWD_SYMBOL="\\w" _LP_PERCENT='%' # percent must be escaped on zsh # Disable the DEBUG trap used by the RUNTIME feature # (in case we are reloading LP in the same shell after disabling # the feature in .liquidpromptrc) # FIXME this doesn't seem to work :( [[ -n "$LP_ENABLE_RUNTIME" ]] && trap - DEBUG elif test -n "$ZSH_VERSION" ; then _LP_SHELL_bash=false _LP_SHELL_zsh=true _LP_OPEN_ESC="%{" _LP_CLOSE_ESC="%}" _LP_USER_SYMBOL="%n" _LP_HOST_SYMBOL="%m" _LP_TIME_SYMBOL="%*" _LP_MARK_SYMBOL='%(!.#.%%)' _LP_FIRST_INDEX=1 _LP_PERCENT='%%' _LP_PWD_SYMBOL="%~" else echo "liquidprompt: shell not supported" >&2 return fi # Store $2 (or $?) as a true/false value in variable named $1 # $? is propagated # _lp_bool foo 5 # => foo=false # _lp_bool foo 0 # => foo=true _lp_bool() { local res=${2:-$?} if [[ $res = 0 ]]; then eval $1=true else eval $1=false fi return $res } # Save $IFS as we want to restore the default value at the beginning of the # prompt function _LP_IFS="$IFS" ############### # OS specific # ############### # LP_OS detection, default to Linux case $(uname) in FreeBSD) LP_OS=FreeBSD ;; DragonFly) LP_OS=FreeBSD ;; OpenBSD) LP_OS=OpenBSD ;; Darwin) LP_OS=Darwin ;; SunOS) LP_OS=SunOS ;; *) LP_OS=Linux ;; esac # Get cpu count case "$LP_OS" in Linux) _lp_CPUNUM=$( nproc 2>/dev/null || grep -c '^[Pp]rocessor' /proc/cpuinfo ) ;; FreeBSD|Darwin|OpenBSD) _lp_CPUNUM=$( sysctl -n hw.ncpu ) ;; SunOS) _lp_CPUNUM=$( kstat -m cpu_info | grep -c "module: cpu_info" ) ;; esac # Extended regexp patterns for sed # GNU/BSD sed _LP_SED_EXTENDED=r [[ "$LP_OS" = Darwin ]] && _LP_SED_EXTENDED=E # get current load case "$LP_OS" in Linux) _lp_cpu_load () { local load eol read load eol < /proc/loadavg echo "$load" } ;; FreeBSD|Darwin|OpenBSD) _lp_cpu_load () { local bol load eol # If you have problems with syntax coloring due to the following # line, do this: ln -s liquidprompt liquidprompt.bash # and edit liquidprompt.bash read bol load eol <<<"$( LANG=C sysctl -n vm.loadavg )" echo "$load" } ;; SunOS) _lp_cpu_load () { LANG=C uptime | awk '{print substr($10,0,length($10))}' } esac # Reset so all PWD dependent variables are computed after loading unset LP_OLD_PWD ################# # CONFIGURATION # ################# # The following code is run just once. But it is encapsulated in a function # to benefit of 'local' variables. # # What we do here: # 1. Setup variables that can be used by the user: the "API" of liquidprompt # for config/theme. Those variables are local to the function. # In practice, this is only color variables. # 2. Setup default values # 3. Load the configuration _lp_source_config() { # TermInfo feature detection local ti_sgr0="$( { tput sgr0 || tput me ; } 2>/dev/null )" local ti_bold="$( { tput bold || tput md ; } 2>/dev/null )" local ti_setaf local ti_setab if tput setaf 0 >/dev/null 2>&1; then ti_setaf() { tput setaf "$1" ; } elif tput AF 0 >/dev/null 2>&1; then # FreeBSD ti_setaf() { tput AF "$1" ; } elif tput AF 0 0 0 >/dev/null 2>&1; then # OpenBSD ti_setaf() { tput AF "$1" 0 0 ; } else echo "liquidprompt: terminal $TERM not supported" >&2 ti_setaf () { : ; } fi if tput setab 0 >/dev/null 2>&1; then ti_setab() { tput setab "$1" ; } elif tput AB 0 >/dev/null 2>&1; then # FreeBSD ti_setab() { tput AB "$1" ; } elif tput AB 0 0 0 >/dev/null 2>&1; then # OpenBSD ti_setab() { tput AB "$1" 0 0 ; } else echo "liquidprompt: terminal $TERM not supported" >&2 ti_setab() { : ; } fi # Colors: variables are local so they will have a value only # during config loading and will not conflict with other values # with the same names defined by the user outside the config. local BOLD="${_LP_OPEN_ESC}${ti_bold}${_LP_CLOSE_ESC}" local BLACK="${_LP_OPEN_ESC}$(ti_setaf 0)${_LP_CLOSE_ESC}" local BOLD_GRAY="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 0)${_LP_CLOSE_ESC}" local WHITE="${_LP_OPEN_ESC}$(ti_setaf 7)${_LP_CLOSE_ESC}" local BOLD_WHITE="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 7)${_LP_CLOSE_ESC}" local RED="${_LP_OPEN_ESC}$(ti_setaf 1)${_LP_CLOSE_ESC}" local BOLD_RED="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 1)${_LP_CLOSE_ESC}" local WARN_RED="${_LP_OPEN_ESC}$(ti_setaf 0 ; ti_setab 1)${_LP_CLOSE_ESC}" local CRIT_RED="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 7 ; ti_setab 1)${_LP_CLOSE_ESC}" local DANGER_RED="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 3 ; ti_setab 1)${_LP_CLOSE_ESC}" local GREEN="${_LP_OPEN_ESC}$(ti_setaf 2)${_LP_CLOSE_ESC}" local BOLD_GREEN="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 2)${_LP_CLOSE_ESC}" local YELLOW="${_LP_OPEN_ESC}$(ti_setaf 3)${_LP_CLOSE_ESC}" local BOLD_YELLOW="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 3)${_LP_CLOSE_ESC}" local BLUE="${_LP_OPEN_ESC}$(ti_setaf 4)${_LP_CLOSE_ESC}" local BOLD_BLUE="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 4)${_LP_CLOSE_ESC}" local PURPLE="${_LP_OPEN_ESC}$(ti_setaf 5)${_LP_CLOSE_ESC}" local PINK="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 5)${_LP_CLOSE_ESC}" local CYAN="${_LP_OPEN_ESC}$(ti_setaf 6)${_LP_CLOSE_ESC}" local BOLD_CYAN="${_LP_OPEN_ESC}${ti_bold}$(ti_setaf 6)${_LP_CLOSE_ESC}" # NO_COL is special: it will be used at runtime, not just during config loading NO_COL="${_LP_OPEN_ESC}${ti_sgr0}${_LP_CLOSE_ESC}" # compute the hash of the hostname # and get the corresponding number in [1-6] (red,green,yellow,blue,purple or cyan) # FIXME check portability of cksum and add more formats (bold? 256 colors?) local hash=$(( 1 + $(hostname | cksum | cut -d " " -f 1) % 6 )) LP_COLOR_HOST_HASH="${_LP_OPEN_ESC}$(ti_setaf $hash)${_LP_CLOSE_ESC}" unset ti_sgr0 ti_bold ti_setaf ti_setab # Default values (globals) LP_BATTERY_THRESHOLD=${LP_BATTERY_THRESHOLD:-75} LP_LOAD_THRESHOLD=${LP_LOAD_THRESHOLD:-60} LP_TEMP_THRESHOLD=${LP_TEMP_THRESHOLD:-60} LP_RUNTIME_THRESHOLD=${LP_RUNTIME_THRESHOLD:-2} LP_PATH_LENGTH=${LP_PATH_LENGTH:-35} LP_PATH_KEEP=${LP_PATH_KEEP:-2} LP_PATH_DEFAULT="${LP_PATH_DEFAULT:-$_LP_PWD_SYMBOL}" LP_HOSTNAME_ALWAYS=${LP_HOSTNAME_ALWAYS:-0} LP_USER_ALWAYS=${LP_USER_ALWAYS:-1} LP_PERCENTS_ALWAYS=${LP_PERCENTS_ALWAYS:-1} LP_PS1=${LP_PS1:-""} LP_PS1_PREFIX=${LP_PS1_PREFIX:-""} LP_PS1_POSTFIX=${LP_PS1_POSTFIX:-""} LP_TITLE_OPEN=${LP_TITLE_OPEN:-"\e]0;"} LP_TITLE_CLOSE=${LP_TITLE_CLOSE:-"\a"} LP_SCREEN_TITLE_OPEN=${LP_SCREEN_TITLE_OPEN:-"\033k"} LP_SCREEN_TITLE_CLOSE=${LP_SCREEN_TITLE_CLOSE:-"\033\134"} LP_ENABLE_PERM=${LP_ENABLE_PERM:-1} LP_ENABLE_SHORTEN_PATH=${LP_ENABLE_SHORTEN_PATH:-1} LP_ENABLE_PROXY=${LP_ENABLE_PROXY:-1} LP_ENABLE_TEMP=${LP_ENABLE_TEMP:-1} LP_ENABLE_JOBS=${LP_ENABLE_JOBS:-1} LP_ENABLE_LOAD=${LP_ENABLE_LOAD:-1} LP_ENABLE_BATT=${LP_ENABLE_BATT:-1} LP_ENABLE_GIT=${LP_ENABLE_GIT:-1} LP_ENABLE_SVN=${LP_ENABLE_SVN:-1} LP_ENABLE_VCSH=${LP_ENABLE_VCSH:-1} LP_ENABLE_FOSSIL=${LP_ENABLE_FOSSIL:-1} LP_ENABLE_HG=${LP_ENABLE_HG:-1} LP_ENABLE_BZR=${LP_ENABLE_BZR:-1} LP_ENABLE_TIME=${LP_ENABLE_TIME:-0} if $_LP_SHELL_bash; then LP_ENABLE_RUNTIME=${LP_ENABLE_RUNTIME:-1} else LP_ENABLE_RUNTIME=${LP_ENABLE_RUNTIME:-0} fi LP_ENABLE_VIRTUALENV=${LP_ENABLE_VIRTUALENV:-1} LP_ENABLE_SCLS=${LP_ENABLE_SCLS:-1} LP_ENABLE_VCS_ROOT=${LP_ENABLE_VCS_ROOT:-0} LP_ENABLE_TITLE=${LP_ENABLE_TITLE:-0} LP_ENABLE_SCREEN_TITLE=${LP_ENABLE_SCREEN_TITLE:-0} LP_ENABLE_SSH_COLORS=${LP_ENABLE_SSH_COLORS:-0} # LP_DISABLED_VCS_PATH="${LP_DISABLED_VCS_PATH}" LP_MARK_DEFAULT="${LP_MARK_DEFAULT:-$_LP_MARK_SYMBOL}" LP_MARK_BATTERY="${LP_MARK_BATTERY:-"⌁"}" LP_MARK_ADAPTER="${LP_MARK_ADAPTER:-"⏚"}" LP_MARK_LOAD="${LP_MARK_LOAD:-"⌂"}" LP_MARK_TEMP="${LP_MARK_TEMP:-"θ"}" LP_MARK_PROXY="${LP_MARK_PROXY:-"↥"}" LP_MARK_HG="${LP_MARK_HG:-"☿"}" LP_MARK_SVN="${LP_MARK_SVN:-"‡"}" LP_MARK_GIT="${LP_MARK_GIT:-"±"}" LP_MARK_VCSH="${LP_MARK_VCSH:-"|"}" LP_MARK_FOSSIL="${LP_MARK_FOSSIL:-"⌘"}" LP_MARK_BZR="${LP_MARK_BZR:-"⚯"}" LP_MARK_DISABLED="${LP_MARK_DISABLED:-"⌀"}" LP_MARK_UNTRACKED="${LP_MARK_UNTRACKED:-"*"}" LP_MARK_STASH="${LP_MARK_STASH:-"+"}" LP_MARK_BRACKET_OPEN="${LP_MARK_BRACKET_OPEN:-"["}" LP_MARK_BRACKET_CLOSE="${LP_MARK_BRACKET_CLOSE:-"]"}" LP_MARK_SHORTEN_PATH="${LP_MARK_SHORTEN_PATH:-" … "}" LP_MARK_PREFIX="${LP_MARK_PREFIX:-" "}" LP_COLOR_PATH=${LP_COLOR_PATH:-$BOLD} LP_COLOR_PATH_ROOT=${LP_COLOR_PATH_ROOT:-$BOLD_YELLOW} LP_COLOR_PROXY=${LP_COLOR_PROXY:-$BOLD_BLUE} LP_COLOR_JOB_D=${LP_COLOR_JOB_D:-$YELLOW} LP_COLOR_JOB_R=${LP_COLOR_JOB_R:-$BOLD_YELLOW} LP_COLOR_JOB_Z=${LP_COLOR_JOB_Z:-$BOLD_YELLOW} LP_COLOR_ERR=${LP_COLOR_ERR:-$PURPLE} LP_COLOR_MARK=${LP_COLOR_MARK:-$BOLD} LP_COLOR_MARK_ROOT=${LP_COLOR_MARK_ROOT:-$BOLD_RED} LP_COLOR_USER_LOGGED=${LP_COLOR_USER_LOGGED:-""} LP_COLOR_USER_ALT=${LP_COLOR_USER_ALT:-$BOLD} LP_COLOR_USER_ROOT=${_ROOT:-$BOLD_YELLOW} LP_COLOR_HOST=${LP_COLOR_HOST:-""} LP_COLOR_SSH=${LP_COLOR_SSH:-$BLUE} LP_COLOR_SU=${LP_COLOR_SU:-$BOLD_YELLOW} LP_COLOR_TELNET=${LP_COLOR_TELNET:-$WARN_RED} LP_COLOR_X11_ON=${LP_COLOR_X11:-$GREEN} LP_COLOR_X11_OFF=${LP_COLOR_X11:-$YELLOW} LP_COLOR_WRITE=${LP_COLOR_WRITE:-$GREEN} LP_COLOR_NOWRITE=${LP_COLOR_NOWRITE:-$RED} LP_COLOR_UP=${LP_COLOR_UP:-$GREEN} LP_COLOR_COMMITS=${LP_COLOR_COMMITS:-$YELLOW} LP_COLOR_CHANGES=${LP_COLOR_CHANGES:-$RED} LP_COLOR_DIFF=${LP_COLOR_DIFF:-$PURPLE} LP_COLOR_CHARGING_ABOVE=${LP_COLOR_CHARGING_ABOVE:-$GREEN} LP_COLOR_CHARGING_UNDER=${LP_COLOR_CHARGING_UNDER:-$YELLOW} LP_COLOR_DISCHARGING_ABOVE=${LP_COLOR_DISCHARGING_ABOVE:-$YELLOW} LP_COLOR_DISCHARGING_UNDER=${LP_COLOR_DISCHARGING_UNDER:-$RED} LP_COLOR_TIME=${LP_COLOR_TIME:-$BLUE} LP_COLOR_IN_MULTIPLEXER=${LP_COLOR_IN_MULTIPLEXER:-$BOLD_BLUE} LP_COLOR_RUNTIME=${LP_COLOR_RUNTIME:-$YELLOW} LP_COLOR_VIRTUALENV=${LP_COLOR_VIRTUALENV:-$CYAN} LP_COLORMAP_0=${LP_COLORMAP_0:-""} LP_COLORMAP_1=${LP_COLORMAP_1:-$GREEN} LP_COLORMAP_2=${LP_COLORMAP_2:-$BOLD_GREEN} LP_COLORMAP_3=${LP_COLORMAP_3:-$YELLOW} LP_COLORMAP_4=${LP_COLORMAP_4:-$BOLD_YELLOW} LP_COLORMAP_5=${LP_COLORMAP_5:-$RED} LP_COLORMAP_6=${LP_COLORMAP_6:-$BOLD_RED} LP_COLORMAP_7=${LP_COLORMAP_7:-$WARN_RED} LP_COLORMAP_8=${LP_COLORMAP_8:-$CRIT_RED} LP_COLORMAP_9=${LP_COLORMAP_9:-$DANGER_RED} # Debugging flags LP_DEBUG_TIME=${LP_DEBUG_TIME:-0} # Default config file may be the XDG standard ~/.config/liquidpromptrc, # but heirloom dotfile has priority. local configfile if [[ -f "/etc/liquidpromptrc" ]] then source "/etc/liquidpromptrc" fi if [[ -f "$HOME/.liquidpromptrc" ]] then configfile="$HOME/.liquidpromptrc" elif [[ -z "$XDG_HOME_DIR" ]] then configfile="$HOME/.config/liquidpromptrc" else configfile="$XDG_HOME_DIR/liquidpromptrc" fi if [[ -f "$configfile" ]] then source "$configfile" fi } # do source config files _lp_source_config unset _lp_source_config # Disable features if the tool is not installed [[ "$LP_ENABLE_GIT" = 1 ]] && { command -v git >/dev/null || LP_ENABLE_GIT=0 ; } [[ "$LP_ENABLE_SVN" = 1 ]] && { command -v svn >/dev/null || LP_ENABLE_SVN=0 ; } [[ "$LP_ENABLE_FOSSIL" = 1 ]] && { command -v fossil >/dev/null || LP_ENABLE_FOSSIL=0 ; } [[ "$LP_ENABLE_HG" = 1 ]] && { command -v hg >/dev/null || LP_ENABLE_HG=0 ; } [[ "$LP_ENABLE_BZR" = 1 ]] && { command -v bzr > /dev/null || LP_ENABLE_BZR=0 ; } case "$LP_OS" in Darwin) [[ "$LP_ENABLE_BATT" = 1 ]] && { command -v pmset >/dev/null || LP_ENABLE_BATT=0 ; };; *) [[ "$LP_ENABLE_BATT" = 1 ]] && { command -v acpi >/dev/null || LP_ENABLE_BATT=0 ; };; esac command -v screen >/dev/null ; _lp_bool _LP_ENABLE_SCREEN $? command -v tmux >/dev/null ; _lp_bool _LP_ENABLE_TMUX $? $_LP_ENABLE_SCREEN || $_LP_ENABLE_TMUX ; _lp_bool _LP_ENABLE_DETACHED_SESSIONS $? if [[ "$LP_ENABLE_RUNTIME" == 1 ]] && ! $_LP_SHELL_bash; then echo Unfortunately, runtime printing for zsh is not yet supported. Turn LP_ENABLE_RUNTIME off in your config to hide this message. LP_ENABLE_RUNTIME=0 fi # If we are running in a terminal multiplexer, brackets are colored if [[ "$TERM" == screen* ]]; then LP_BRACKET_OPEN="${LP_COLOR_IN_MULTIPLEXER}${LP_MARK_BRACKET_OPEN}${NO_COL}" LP_BRACKET_CLOSE="${LP_COLOR_IN_MULTIPLEXER}${LP_MARK_BRACKET_CLOSE}${NO_COL}" (( LP_ENABLE_TITLE = LP_ENABLE_TITLE && LP_ENABLE_SCREEN_TITLE )) LP_TITLE_OPEN="$LP_SCREEN_TITLE_OPEN" LP_TITLE_CLOSE="$LP_SCREEN_TITLE_CLOSE" else LP_BRACKET_OPEN="${LP_MARK_BRACKET_OPEN}" LP_BRACKET_CLOSE="${LP_MARK_BRACKET_CLOSE}" fi [[ "_$TERM" == _linux* ]] && LP_ENABLE_TITLE=0 # update_terminal_cwd is a shell function available on MacOS X Lion that # will update an icon of the directory displayed in the title of the terminal # window. # See http://hints.macworld.com/article.php?story=20110722211753852 if [[ "$TERM_PROGRAM" == Apple_Terminal ]] && command -v update_terminal_cwd >/dev/null; then _LP_TERM_UPDATE_DIR=update_terminal_cwd # Remove "update_terminal_cwd; " that has been add by Apple in /et/bashrc. # See issue #196 PROMPT_COMMAND="${PROMPT_COMMAND//update_terminal_cwd; /}" else _LP_TERM_UPDATE_DIR=: fi # Default value for LP_PERM when LP_ENABLE_PERM is 0 LP_PERM=: # without color # Escape the given strings # Must be used for all strings that may comes from remote sources, # like VCS branch names _lp_escape() { printf "%q" "$*" } ############### # Who are we? # ############### # Yellow for root, bold if the user is not the login one, else no color. if [[ "$EUID" -ne "0" ]] ; then # if user is not root # if user is not login user if [[ ${USER} != "$(logname 2>/dev/null || echo "$LOGNAME")" ]]; then LP_USER="${LP_COLOR_USER_ALT}${_LP_USER_SYMBOL}${NO_COL}" else if [[ "${LP_USER_ALWAYS}" -ne "0" ]] ; then LP_USER="${LP_COLOR_USER_LOGGED}${_LP_USER_SYMBOL}${NO_COL}" else LP_USER="" fi fi else # root! LP_USER="${LP_COLOR_USER_ROOT}${_LP_USER_SYMBOL}${NO_COL}" LP_COLOR_MARK="${LP_COLOR_MARK_ROOT}" LP_COLOR_PATH="${LP_COLOR_PATH_ROOT}" # Disable VCS info for all paths if [[ "$LP_ENABLE_VCS_ROOT" != 1 ]]; then LP_DISABLED_VCS_PATH=/ LP_MARK_DISABLED="$_LP_MARK_SYMBOL" fi fi ################# # Where are we? # ################# _lp_connection() { if [[ -n "$SSH_CLIENT$SSH2_CLIENT$SSH_TTY" ]] ; then echo ssh else # TODO check on *BSD local sess_src="$(who am i | sed -n 's/.*(\(.*\))/\1/p')" local sess_parent="$(ps -o comm= -p $PPID 2> /dev/null)" if [[ -z "$sess_src" || "$sess_src" = ":"* ]] ; then echo lcl # Local elif [[ "$sess_parent" = "su" || "$sess_parent" = "sudo" ]] ; then echo su # Remote su/sudo else echo tel # Telnet fi fi } # Put the hostname if not locally connected # color it in cyan within SSH, and a warning red if within telnet # else display the host without color # The connection is not expected to change from inside the shell, so we # build this just once LP_HOST="" [[ -r /etc/debian_chroot ]] && LP_HOST="($(< /etc/debian_chroot))" # If we are connected with a X11 support if [[ -n "$DISPLAY" ]]; then LP_HOST="${LP_COLOR_X11_ON}${LP_HOST}@${NO_COL}" else LP_HOST="${LP_COLOR_X11_OFF}${LP_HOST}@${NO_COL}" fi case "$(_lp_connection)" in lcl) if [[ "${LP_HOSTNAME_ALWAYS}" -eq "0" ]] ; then # FIXME do we want to display the chroot if local? LP_HOST="" # no hostname if local else LP_HOST="${LP_HOST}${LP_COLOR_HOST}${_LP_HOST_SYMBOL}${NO_COL}" fi ;; ssh) # If we want a different color for each host [[ "$LP_ENABLE_SSH_COLORS" -eq 1 ]] && LP_COLOR_SSH="$LP_COLOR_HOST_HASH" LP_HOST="${LP_HOST}${LP_COLOR_SSH}${_LP_HOST_SYMBOL}${NO_COL}" ;; su) LP_HOST="${LP_HOST}${LP_COLOR_SU}${_LP_HOST_SYMBOL}${NO_COL}" ;; tel) LP_HOST="${LP_HOST}${LP_COLOR_TELNET}${_LP_HOST_SYMBOL}${NO_COL}" ;; *) LP_HOST="${LP_HOST}${_LP_HOST_SYMBOL}" # defaults to no color ;; esac # Useless now, so undefine unset _lp_connection _lp_get_home_tilde_collapsed() { local tilde="~" echo "${PWD/#$HOME/$tilde}" } # Shorten the path of the current working directory # * Show only the current directory # * Show as much of the cwd path as possible, if shortened display a # leading mark, such as ellipses, to indicate that part is missing # * show at least LP_PATH_KEEP leading dirs and current directory _lp_shorten_path() { if [[ "$LP_ENABLE_SHORTEN_PATH" != 1 ]] ; then LP_PWD="$LP_PATH_DEFAULT" if $_LP_SHELL_bash; then [[ -n "$PROMPT_DIRTRIM" ]] && _lp_set_dirtrim fi return fi local ret="" local p="$(_lp_get_home_tilde_collapsed)" local mask="${LP_MARK_SHORTEN_PATH}" local -i max_len=$(( ${COLUMNS:-80} * LP_PATH_LENGTH / 100 )) if [[ ${LP_PATH_KEEP} == -1 ]]; then # only show the current directory, excluding any parent dirs ret="${p##*/}" # discard everything up to and including the last slash [[ "${ret}" == "" ]] && ret="/" # if in root directory elif (( ${#p} <= max_len )); then ret="${p}" elif [[ ${LP_PATH_KEEP} == 0 ]]; then # len is over max len, show as much of the tail as is allowed ret="${p##*/}" # show at least complete current directory p="${p:0:${#p} - ${#ret}}" ret="${mask}${p:${#p} - (${max_len} - ${#ret} - ${#mask})}${ret}" else # len is over max len, show at least LP_PATH_KEEP leading dirs and # current directory local tmp=${p//\//} local -i delims=$(( ${#p} - ${#tmp} )) for (( dir=0; dir < LP_PATH_KEEP; dir++ )); do (( dir == delims )) && break local left="${p#*/}" local name="${p:0:${#p} - ${#left}}" p="${left}" ret="${ret}${name%/}/" done if (( delims <= LP_PATH_KEEP )); then # no dirs between LP_PATH_KEEP leading dirs and current dir ret="${ret}${p##*/}" else local base="${p##*/}" p="${p:0:${#p} - ${#base}}" [[ ${ret} != "/" ]] && ret="${ret%/}" # strip trailing slash local -i len_left=$(( max_len - ${#ret} - ${#base} - ${#mask} )) ret="${ret}${mask}${p:${#p} - ${len_left}}${base}" fi fi # Escape special chars if $_LP_SHELL_bash; then LP_PWD="${ret//\\/\\\\}" else # zsh LP_PWD="${ret//\%/%%}" fi } # In bash shell, PROMPT_DIRTRIM is the number of directory to keep at the end # of the displayed path (if "\w" is present in the PS1 var). # liquidprompt can calculate this number under two condition, path shortening # must be disabled and PROMPT_DIRTRIM must be already set. _lp_set_dirtrim() { local p="$(_lp_get_home_tilde_collapsed)" local -i max_len="${COLUMNS:-80}*$LP_PATH_LENGTH/100" local -i dt=0 if (( ${#p} > max_len )); then local q="/${p##*/}" local show="$q" # +3 because of the ellipsis: "..." while (( ${#show}+3 < max_len )); do (( dt++ )) p="${p%$q}" q="/${p##*/}" show="$q$show" done (( dt == 0 )) && dt=1 fi PROMPT_DIRTRIM=$dt # For debugging # echo PROMPT_DIRTRIM=$PROMPT_DIRTRIM >&2 } ################ # Related jobs # ################ # Display the count of each if non-zero: # - detached screens sessions and/or tmux sessions running on the host # - attached running jobs (started with $ myjob &) # - attached stopped jobs (suspended with Ctrl-Z) _lp_jobcount_color() { [[ "$LP_ENABLE_JOBS" != 1 ]] && return local m_stop="z" local m_run="&" local ret if $_LP_ENABLE_DETACHED_SESSIONS; then local -i detached=0 $_LP_ENABLE_SCREEN && let detached=$(screen -ls 2> /dev/null | grep -c '[Dd]etach[^)]*)$') $_LP_ENABLE_TMUX && let detached+=$(tmux list-sessions 2> /dev/null | grep -cv 'attached') (( detached > 0 )) && ret="${ret}${LP_COLOR_JOB_D}${detached}d${NO_COL}" fi local running=$(( $(jobs -r | wc -l) )) if [[ $running != 0 ]] ; then [[ -n "$ret" ]] && ret="${ret}/" ret="${ret}${LP_COLOR_JOB_R}${running}${m_run}${NO_COL}" fi local stopped=$(( $(jobs -s | wc -l) )) if [[ $stopped != 0 ]] ; then [[ -n "$ret" ]] && ret="${ret}/" ret="${ret}${LP_COLOR_JOB_Z}${stopped}${m_stop}${NO_COL}" fi echo -n "$ret" } ###################### # VCS branch display # ###################### _lp_are_vcs_enabled() { [[ -z "$LP_DISABLED_VCS_PATH" ]] && return 0 local path local IFS=: for path in $LP_DISABLED_VCS_PATH; do [[ "$PWD" == *"$path"* ]] && return 1 done return 0 } # GIT # # Get the branch name of the current directory _lp_git_branch() { [[ "$LP_ENABLE_GIT" != 1 ]] && return \git rev-parse --inside-work-tree >/dev/null 2>&1 || return local branch # Recent versions of Git support the --short option for symbolic-ref, but # not 1.7.9 (Ubuntu 12.04) if branch="$(\git symbolic-ref -q HEAD)"; then _lp_escape "${branch#refs/heads/}" else # In detached head state, use commit instead # No escape needed \git rev-parse --short -q HEAD fi } # Set a color depending on the branch state: # - green if the repository is up to date # - yellow if there is some commits not pushed # - red if there is changes to commit # # Add the number of pending commits and the impacted lines. _lp_git_branch_color() { [[ "$LP_ENABLE_GIT" != 1 ]] && return local branch branch="$(_lp_git_branch)" if [[ -n "$branch" ]] ; then local end end="$NO_COL" if LC_ALL=C \git status --porcelain 2>/dev/null | grep -Eq '^\?\?'; then end="$LP_COLOR_CHANGES$LP_MARK_UNTRACKED$end" fi if [[ -n "$(\git stash list -n 1 2>/dev/null)" ]]; then end="$LP_COLOR_COMMITS$LP_MARK_STASH$end" fi local remote remote="$(\git config --get branch.${branch}.remote 2>/dev/null)" local -i has_commit has_commit=0 if [[ -n "$remote" ]]; then local remote_branch remote_branch="$(\git config --get branch.${branch}.merge)" if [[ -n "$remote_branch" ]]; then has_commit="$(\git rev-list --count ${remote_branch/refs\/heads/refs\/remotes\/$remote}..HEAD 2>/dev/null)" [[ -z "$has_commit" ]] && has_commit=0 fi fi local ret local shortstat # only to check for uncommitted changes shortstat="$(LC_ALL=C \git diff --shortstat HEAD 2>/dev/null)" if [[ -n "$shortstat" ]] ; then local u_stat # shorstat of *unstaged* changes u_stat="$(LC_ALL=C \git diff --shortstat 2>/dev/null)" u_stat=${u_stat/*changed, /} # removing "n file(s) changed" local i_lines # inserted lines if [[ "$u_stat" = *insertion* ]] ; then i_lines=${u_stat/ inser*} else i_lines=0 fi local d_lines # deleted lines if [[ "$u_stat" = *deletion* ]] ; then d_lines=${u_stat/*\(+\), } d_lines=${d_lines/ del*/} else d_lines=0 fi local has_lines has_lines="+$i_lines/-$d_lines" if [[ "$has_commit" -gt "0" ]] ; then # Changes to commit and commits to push ret="${LP_COLOR_CHANGES}${branch}${NO_COL}(${LP_COLOR_DIFF}$has_lines${NO_COL},${LP_COLOR_COMMITS}$has_commit${NO_COL})" else ret="${LP_COLOR_CHANGES}${branch}${NO_COL}(${LP_COLOR_DIFF}$has_lines${NO_COL})" # changes to commit fi else if [[ "$has_commit" -gt "0" ]] ; then # some commit(s) to push ret="${LP_COLOR_COMMITS}${branch}${NO_COL}(${LP_COLOR_COMMITS}$has_commit${NO_COL})" else ret="${LP_COLOR_UP}${branch}" # nothing to commit or push fi fi echo -ne "$ret$end" fi } # Search upwards through a directory structure looking for a file/folder with # the given name. Used to avoid invoking 'hg' and 'bzr'. _lp_upwards_find() { local dir dir="$PWD" while [[ -n "$dir" ]]; do [[ -d "$dir/$1" ]] && return 0 dir="${dir%/*}" done return 1 } # MERCURIAL # # Get the branch name of the current directory _lp_hg_branch() { [[ "$LP_ENABLE_HG" != 1 ]] && return # First do a simple search to avoid having to invoke hg -- at least on my # machine, the python startup causes a noticeable hitch when changing # directories. _lp_upwards_find .hg || return # We found an .hg folder, so we need to invoke hg and see if we're actually # in a repository. local branch branch="$(hg branch 2>/dev/null)" [[ $? -eq 0 ]] && _lp_escape "$branch" } # Set a color depending on the branch state: # - green if the repository is up to date # - red if there is changes to commit # - TODO: yellow if there is some commits not pushed _lp_hg_branch_color() { [[ "$LP_ENABLE_HG" != 1 ]] && return local branch local ret branch="$(_lp_hg_branch)" if [[ -n "$branch" ]] ; then local has_untracked has_untracked= if hg status -u 2>/dev/null | grep -q '^\?' >/dev/null ; then has_untracked="$LP_COLOR_CHANGES$LP_MARK_UNTRACKED" fi # Count local commits waiting for a push # # Unfortunately this requires contacting the remote, so this is always slow # => disabled https://github.com/nojhan/liquidprompt/issues/217 local -i commits #commits=$(hg outgoing --no-merges ${branch} 2>/dev/null | grep -c '\(^changeset\:\)') commits=0 # Check if there is some uncommitted stuff if [[ -z "$(hg status --quiet -n)" ]] ; then if (( commits > 0 )) ; then # some commit(s) to push ret="${LP_COLOR_COMMITS}${branch}${NO_COL}(${LP_COLOR_COMMITS}$commits${NO_COL})${has_untracked}${NO_COL}" else # nothing to commit or push ret="${LP_COLOR_UP}${branch}${has_untracked}${NO_COL}" fi else local has_lines # Parse the last line of the diffstat-style output has_lines="$(hg diff --stat 2>/dev/null | sed -n '$ s!^.*, \([0-9]*\) .*, \([0-9]*\).*$!+\1/-\2!p')" if (( commits > 0 )) ; then # Changes to commit and commits to push ret="${LP_COLOR_CHANGES}${branch}${NO_COL}(${LP_COLOR_DIFF}$has_lines${NO_COL},${LP_COLOR_COMMITS}$commits${NO_COL})${has_untracked}${NO_COL}" else ret="${LP_COLOR_CHANGES}${branch}${NO_COL}(${LP_COLOR_DIFF}$has_lines${NO_COL})${has_untracked}${NO_COL}" # changes to commit fi fi echo -ne "$ret" fi } # SUBVERSION # # Get the branch name of the current directory # For the first level of the repository, gives the repository name _lp_svn_branch() { [[ "$LP_ENABLE_SVN" != 1 ]] && return local root local url eval "$(LANG=C LC_ALL=C svn info 2>/dev/null | sed -n 's/^URL: \(.*\)/url="\1"/p;s/^Repository Root: \(.*\)/root="\1"/p' )" [[ -z "$root" ]] && return # Make url relative to root url="${url:${#root}}" if [[ "$url" == */trunk* ]] ; then echo -n trunk elif [[ "$url" == */branches/?* ]] ; then url="${url##*/branches/}" _lp_escape "${url%/*}" elif [[ "$url" == */tags/?* ]] ; then url="${url##*/tags/}" _lp_escape "${url%/*}" else _lp_escape "${root##*/}" fi } # Set a color depending on the branch state: # - green if the repository is clean # (use $LP_SVN_STATUS_OPTS to define what that means with # the --depth option of 'svn status') # - red if there is changes to commit # Note that, due to subversion way of managing changes, # informations are only displayed for the CURRENT directory. _lp_svn_branch_color() { [[ "$LP_ENABLE_SVN" != 1 ]] && return local branch branch="$(_lp_svn_branch)" if [[ -n "$branch" ]] ; then local changes changes=$(( $(svn status $LP_SVN_STATUS_OPTIONS | grep -c -v "?") )) if [[ $changes -eq 0 ]] ; then echo "${LP_COLOR_UP}${branch}${NO_COL}" else echo "${LP_COLOR_CHANGES}${branch}${NO_COL}(${LP_COLOR_DIFF}$changes${NO_COL})" # changes to commit fi fi } # FOSSIL # # Get the tag name of the current directory _lp_fossil_branch() { [[ "$LP_ENABLE_FOSSIL" != 1 ]] && return local branch branch=$(fossil status 2>/dev/null | sed -n "s/tags:[ ]*\(\w*\)$/\1/Ip") if [ -n "$branch" ]; then echo "$branch" else if fossil info &>/dev/null ; then echo "no-tag" fi fi } # Set a color depending on the branch state: # - green if the repository is clean # - red if there is changes to commit # - yellow if the branch has no tag name # # Add the number of impacted files with a # + when files are ADDED or EDITED # - when files are DELETED _lp_fossil_branch_color() { [[ "$LP_ENABLE_FOSSIL" != 1 ]] && return local branch branch="$(_lp_fossil_branch)" if [ -n "$branch" ]; then local -i C2E # Modified files (added or edited) local C2A # Extras files local ret C2E=$(fossil changes | wc -l) C2A=$(fossil extras | wc -l) ret=$(fossil diff -i -v | awk "/^(+[^+])|(+$)/ { plus+=1; } /^(-[^-])|(-$)/ { minus+=1; } END { total=\"\"; if(plus>0){ total=\"+\"plus; if(minus>0) total=total\"/\"; } if(minus>0) total=total\"-\"minus; print total;}") if (( C2E > 0 )); then [[ -n "$ret" ]] && ret+=" in " ret="(${LP_COLOR_DIFF}${ret}${C2E}${NO_COL})" fi if (( C2A > 0 )); then C2A="$LP_COLOR_CHANGES$LP_MARK_UNTRACKED" else C2A="" fi if [[ "$branch" = "no-tag" ]]; then # Warning, your branch has no tag name ! branch="${LP_COLOR_COMMITS}$branch${NO_COL}$ret${LP_COLOR_COMMITS}$C2A${NO_COL}" else if (( C2E == 0 )); then # All is up-to-date branch="${LP_COLOR_UP}$branch$C2A${NO_COL}" else # There're some changes to commit branch="${LP_COLOR_CHANGES}$branch${NO_COL}$ret${LP_COLOR_CHANGES}$C2A${NO_COL}" fi fi echo "$branch" fi } # Bazaar # # Get the branch name of the current directory _lp_bzr_branch() { [[ "$LP_ENABLE_BZR" != 1 ]] && return # First do a simple search to avoid having to invoke bzr -- at least on my # machine, the python startup causes a noticeable hitch when changing # directories. _lp_upwards_find .bzr || return # We found an .bzr folder, so we need to invoke bzr and see if we're # actually in a repository. local branch branch="$(bzr nick 2> /dev/null)" [[ $? -ne 0 ]] && return _lp_escape "$branch" } # Set a color depending on the branch state: # - green if the repository is up to date # - red if there is changes to commit # - TODO: yellow if there is some commits not pushed # # Add the number of pending commits and the impacted lines. _lp_bzr_branch_color() { [[ "$LP_ENABLE_BZR" != 1 ]] && return # First do a simple search to avoid having to invoke bzr -- at least on my # machine, the python startup causes a noticeable hitch when changing # directories. _lp_upwards_find .bzr || return # We found an .bzr folder, so we need to invoke bzr and see if we're # actually in a repository. local output output="$(bzr version-info --check-clean --custom --template='{branch_nick} {revno} {clean}' 2> /dev/null)" [[ $? -ne 0 ]] && return $_LP_SHELL_zsh && setopt local_options && setopt sh_word_split local tuple tuple=($output) $_LP_SHELL_zsh && unsetopt sh_word_split local branch=${tuple[_LP_FIRST_INDEX+0]} local revno=${tuple[_LP_FIRST_INDEX+1]} local clean=${tuple[_LP_FIRST_INDEX+2]} if [[ -n "$branch" ]] ; then if [[ "$clean" -eq 0 ]] ; then ret="${LP_COLOR_CHANGES}${branch}${NO_COL}(${LP_COLOR_COMMITS}$revno${NO_COL})" else ret="${LP_COLOR_UP}${branch}${NO_COL}(${LP_COLOR_COMMITS}$revno${NO_COL})" fi fi echo -ne "$ret" } #################### # Wifi link status # #################### _lp_wifi() { # Linux sed -n '3s/^ *[^ ]* *[^ ]* *\([0-9]*\).*/\1/p' /proc/net/wireless } ################## # Battery status # ################## # Get the battery status in percent # returns 0 (and battery level) if battery is discharging and under threshold # returns 1 (and battery level) if battery is discharging and above threshold # returns 2 (and battery level) if battery is charging but under threshold # returns 3 (and battery level) if battery is charging and above threshold # returns 4 if no battery support case "$LP_OS" in Linux) _lp_battery() { [[ "$LP_ENABLE_BATT" != 1 ]] && return 4 local acpi acpi="$(acpi --battery 2>/dev/null)" # Extract the battery load value in percent # First, remove the beginning of the line... local bat="${acpi#Battery *, }" bat="${bat%%%*}" # remove everything starting at '%' if [[ -z "${bat}" ]] ; then # not battery level found return 4 # discharging elif [[ "$acpi" == *"Discharging"* ]] ; then if [[ ${bat} -le $LP_BATTERY_THRESHOLD ]] ; then # under threshold echo -n "${bat}" return 0 else # above threshold echo -n "${bat}" return 1 fi # charging else if [[ ${bat} -le $LP_BATTERY_THRESHOLD ]] ; then # under threshold echo -n "${bat}" return 2 else # above threshold echo -n "${bat}" return 3 fi fi } ;; Darwin) _lp_battery() { [[ "$LP_ENABLE_BATT" != 1 ]] && return 4 local pmset="$(pmset -g batt | sed -n -e '/InternalBattery/p')" local bat="$(cut -f2 <<<"$pmset")" bat="${bat%%%*}" case "$pmset" in *charged* | "") return 4 ;; *discharging*) if [[ ${bat} -le $LP_BATTERY_THRESHOLD ]] ; then # under threshold echo -n "${bat}" return 0 else # above threshold echo -n "${bat}" return 1 fi ;; *) if [[ ${bat} -le $LP_BATTERY_THRESHOLD ]] ; then # under threshold echo -n "${bat}" return 2 else # above threshold echo -n "${bat}" return 3 fi ;; esac } ;; esac # Compute a gradient of background/foreground colors depending on the battery status # Display: # a green ⏚ if the battery is charging and above threshold # a yellow ⏚ if the battery is charging and under threshold # a yellow ⌁ if the battery is discharging but above threshold # a red ⌁ if the battery is discharging and above threshold _lp_battery_color() { [[ "$LP_ENABLE_BATT" != 1 ]] && return local mark=$LP_MARK_BATTERY local chargingmark=$LP_MARK_ADAPTER local bat local ret bat="$(_lp_battery)" ret=$? if [[ $ret == 4 || $bat == 100 ]] ; then # no battery support or battery full: nothing displayed return elif [[ $ret == 3 && $bat != 100 ]] ; then # charging and above threshold and not 100% # green ⏚ echo -ne "${LP_COLOR_CHARGING_ABOVE}$chargingmark${NO_COL}" return elif [[ $ret == 2 ]] ; then # charging but under threshold # yellow ⏚ echo -ne "${LP_COLOR_CHARGING_UNDER}$chargingmark${NO_COL}" return elif [[ $ret == 1 ]] ; then # discharging but above threshold # yellow ⌁ echo -ne "${LP_COLOR_DISCHARGING_ABOVE}$mark${NO_COL}" return # discharging and under threshold elif [[ "$bat" != "" ]] ; then ret="${LP_COLOR_DISCHARGING_UNDER}${mark}${NO_COL}" if [[ "$LP_PERCENTS_ALWAYS" -eq "1" ]]; then if (( bat <= 0 )); then ret="${ret}${LP_COLORMAP_0}" elif (( bat <= 5 )); then # 5 ret="${ret}${LP_COLORMAP_9}" elif (( bat <= 10 )); then # 5 ret="${ret}${LP_COLORMAP_8}" elif (( bat <= 20 )); then # 10 ret="${ret}${LP_COLORMAP_7}" elif (( bat <= 30 )); then # 10 ret="${ret}${LP_COLORMAP_6}" elif (( bat <= 40 )); then # 10 ret="${ret}${LP_COLORMAP_5}" elif (( bat <= 50 )); then # 10 ret="${ret}${LP_COLORMAP_4}" elif (( bat <= 65 )); then # 15 ret="${ret}${LP_COLORMAP_3}" elif (( bat <= 80 )); then # 15 ret="${ret}${LP_COLORMAP_2}" elif (( bat < 100 )); then # 20 ret="${ret}${LP_COLORMAP_1}" else # >= 100 ret="${ret}${LP_COLORMAP_0}" fi ret="${ret}${bat}$_LP_PERCENT" fi # LP_PERCENTS_ALWAYS echo -ne "${ret}${NO_COL}" fi # ret } _lp_color_map() { # Default scale: 0..100 # Custom scale: 0..$2 local -i scale value scale=${2:-100} # Transform the value to a 0..100 scale value=100*$1/scale if (( value < 50 )); then if (( value < 30 )); then if (( value < 10 )); then echo -ne "${LP_COLORMAP_0}" elif (( value < 20 )); then echo -ne "${LP_COLORMAP_1}" else # 40..59 echo -ne "${LP_COLORMAP_2}" fi elif (( value < 40 )); then echo -ne "${LP_COLORMAP_3}" else # 80..99 echo -ne "${LP_COLORMAP_4}" fi elif (( value < 80 )); then if (( value < 60 )); then echo -ne "${LP_COLORMAP_5}" elif (( value < 70 )); then echo -ne "${LP_COLORMAP_6}" else echo -ne "${LP_COLORMAP_7}" fi elif (( value < 90 )) ; then echo -ne "${LP_COLORMAP_8}" else # (( value >= 90 )) echo -ne "${LP_COLORMAP_9}" fi } ########################### # runtime of last command # ########################### _LP_RUNTIME_LAST_SECONDS=$SECONDS _lp_runtime() { [[ "$LP_ENABLE_RUNTIME" != 1 ]] && return if [[ $_LP_RUNTIME_SECONDS -ge $LP_RUNTIME_THRESHOLD ]] then echo -ne "${LP_COLOR_RUNTIME}" # display runtime seconds as days, hours, minutes, and seconds [[ "$_LP_RUNTIME_SECONDS" -ge 86400 ]] && echo -ne $((_LP_RUNTIME_SECONDS / 86400))d [[ "$_LP_RUNTIME_SECONDS" -ge 3600 ]] && echo -ne $((_LP_RUNTIME_SECONDS % 86400 / 3600))h [[ "$_LP_RUNTIME_SECONDS" -ge 60 ]] && echo -ne $((_LP_RUNTIME_SECONDS % 3600 / 60))m echo -ne $((_LP_RUNTIME_SECONDS % 60))s echo -ne "${NO_COL}" fi } _lp_reset_runtime() { # Compute number of seconds since program was started _LP_RUNTIME_SECONDS=$((SECONDS - _LP_RUNTIME_LAST_SECONDS)) # If no proper command was executed (i.e., someone pressed enter without entering a command), # reset the runtime counter [ "$_LP_RUNTIME_COMMAND_EXECUTED" != 1 ] && _LP_RUNTIME_LAST_SECONDS=$SECONDS && _LP_RUNTIME_SECONDS=0 # A proper command has been executed if the last command was not related to liquidprompt [ "$BASH_COMMAND" = _lp_set_prompt ] _LP_RUNTIME_COMMAND_EXECUTED=$? } if [ "$LP_ENABLE_RUNTIME" = 1 ] then # _lp_reset_runtime gets called whenever bash executes a command trap '_lp_reset_runtime' DEBUG fi ############### # System load # ############### # Compute a gradient of background/forground colors depending on the battery status _lp_load_color() { # Colour progression is important ... # bold gray -> bold green -> bold yellow -> bold red -> # black on red -> bold white on red # # Then we have to choose the values at which the colours switch, with # anything past yellow being pretty important. [[ "$LP_ENABLE_LOAD" != 1 ]] && return local tmp="$(_lp_cpu_load)" tmp=${tmp/./} # Remove '.' tmp=${tmp#0} # Remove leading '0' tmp=${tmp#0} # Remove leading '0', again (ex: 0.09) local -i load=${tmp:-0}/$_lp_CPUNUM if (( load > LP_LOAD_THRESHOLD )); then local ret="$(_lp_color_map $load 200)${LP_MARK_LOAD}" if [[ "$LP_PERCENTS_ALWAYS" == 1 ]]; then ret="${ret}${load}${_LP_PERCENT}" fi echo -nE "${ret}${NO_COL}" fi } ###################### # System temperature # ###################### _lp_temp_sensors() { # Return the hottest system temperature we get through the sensors command local i for i in $(sensors | sed -n -r "s/^(CPU|SYS|MB|Core|temp).*: *\+([0-9]*)\..°.*/\2/p"); do [[ $i -gt $temperature ]] && temperature=$i done } _lp_temp_acpi() { local i for i in $(LANG=C acpi -t | sed 's/.* \(-\?[0-9]*\)\.[0-9]* degrees C$/\1/p'); do [[ $i -gt $temperature ]] && temperature=$i done } # Will set _LP_TEMP_FUNCTION so the temperature monitoring feature use an # available command. _LP_TEMP_FUNCTION should return only a numeric value if [[ "$LP_ENABLE_TEMP" = 1 ]]; then if command -v acpi >/dev/null; then _LP_TEMP_FUNCTION=_lp_temp_acpi elif command -v sensors >/dev/null; then _LP_TEMP_FUNCTION=_lp_temp_sensors # elif command -v the_command_you_want_to_use; then # _LP_TEMP_FUNCTION=your_function else LP_ENABLE_TEMP=0 fi fi _lp_temperature() { # Will display the numeric value as we got it through the _LP_TEMP_FUNCTION # and colorize it through _lp_color_map. [[ "$LP_ENABLE_TEMP" != 1 ]] && return local temperature temperature=0 $_LP_TEMP_FUNCTION if [[ $temperature -ge $LP_TEMP_THRESHOLD ]]; then echo -ne "${LP_MARK_TEMP}$(_lp_color_map $temperature 120)$temperature°${NO_COL}" fi } ########## # DESIGN # ########## # Sed expression using extended regexp to remove shell codes around terminal # escape sequences _LP_CLEAN_ESC="$(printf "s,%q|%q,,g" "$_LP_OPEN_ESC" "$_LP_CLOSE_ESC")" # Remove all colors and escape characters of the given string and return a pure text _lp_as_text() { # Remove colors from the computed prompt echo -n "$1" | sed -$_LP_SED_EXTENDED "s/\x1B\[[0-9;]*[mK]//g;$_LP_CLEAN_ESC" } _lp_title() { [[ "$LP_ENABLE_TITLE" != "1" ]] && return # Get the current computed prompt as pure text echo -n "${_LP_OPEN_ESC}${LP_TITLE_OPEN}$(_lp_as_text "$1")${LP_TITLE_CLOSE}${_LP_CLOSE_ESC}" } # Set the prompt mark to ± if git, to ☿ if mercurial, to ‡ if subversion # to # if root and else $ _lp_smart_mark() { local mark case "$LP_VCS_TYPE" in git) mark="$LP_MARK_GIT" ;; git-svn) mark="$LP_MARK_GIT$LP_MARK_SVN" ;; git-vcsh) mark="$LP_MARK_VCSH$LP_MARK_GIT$LP_MARK_VCSH";; hg) mark="$LP_MARK_HG" ;; svn) mark="$LP_MARK_SVN" ;; fossil) mark="$LP_MARK_FOSSIL" ;; bzr) mark="$LP_MARK_BZR" ;; disabled) mark="$LP_MARK_DISABLED" ;; *) mark="$LP_MARK_DEFAULT" ;; esac echo -ne "${LP_COLOR_MARK}${mark}${NO_COL}" } # insert a space on the right _lp_sr() { [[ -n "$1" ]] && echo -n "$1 " } # insert a space on the left _lp_sl() { [[ -n "$1" ]] && echo -n " $1" } # insert two space, before and after _lp_sb() { [[ -n "$1" ]] && echo -n " $1 " } ################### # CURRENT TIME # ################### _lp_time_analog() { # get the date as "hours(12) minutes" in a single call # make a bash array with it local -a d d=( $(date "+%I %M") ) # separate hours and minutes local -i hour=${d[_LP_FIRST_INDEX+0]#0} # no leading 0 local -i min=${d[_LP_FIRST_INDEX+1]#0} # The targeted unicode characters are the "CLOCK FACE" ones # They are located in the codepages between: # U+1F550 (ONE OCLOCK) and U+1F55B (TWELVE OCLOCK), for the plain hours # U+1F55C (ONE-THIRTY) and U+1F567 (TWELVE-THIRTY), for the thirties # local -a plain plain=(🕐 🕑 🕒 🕓 🕔 🕕 🕖 🕗 🕘 🕙 🕚 🕛 ) local -a half half=(🕜 🕝 🕞 🕟 🕠 🕡 🕢 🕣 🕤 🕥 🕦 🕧 ) # "date %I" returns a number between 1 and 12 and we want 12 to be 0. local -i hi=$(( hour % 12)) # add a space for correct alignment if (( min < 15 )) ; then echo -n "${plain[hi]} " elif (( min < 45 )) ; then echo -n "${half[hi]} " else echo -n "${plain[hi+1]} " fi } _lp_time() { [[ "$LP_ENABLE_TIME" != 1 ]] && return if [[ "$LP_TIME_ANALOG" != 1 ]]; then echo -n "${LP_COLOR_TIME}${_LP_TIME_SYMBOL}${NO_COL}" else echo -n "${LP_COLOR_TIME}" _lp_time_analog echo -n "${NO_COL}" fi } ######################## # Construct the prompt # ######################## _lp_set_prompt() { # Display the return value of the last command, if different from zero # As this get the last returned code, it should be called first local -i err=$? if (( err != 0 )); then LP_ERR=" $LP_COLOR_ERR$err$NO_COL" else LP_ERR='' # Hidden fi # Reset IFS to its default value to avoid strange behaviors # (in case the user is playing with the value at the prompt) local IFS="$_LP_IFS" # execute the old prompt if $_LP_SHELL_bash; then eval "$LP_OLD_PROMPT_COMMAND" else # zsh eval "${${LP_OLD_PROMPT_COMMAND#*$'\n'}%$'\n'*}" fi # left of main prompt: space at right LP_JOBS="$(_lp_sr "$(_lp_jobcount_color)")" LP_TEMP="$(_lp_sr "$(_lp_temperature)")" LP_LOAD="$(_lp_sr "$(_lp_load_color)")" LP_BATT="$(_lp_sr "$(_lp_battery_color)")" LP_TIME="$(_lp_sr "$(_lp_time)")" # in main prompt: no space if [[ "$LP_ENABLE_PROXY,$http_proxy" = 1,?* ]] ; then LP_PROXY="$LP_COLOR_PROXY$LP_MARK_PROXY$NO_COL" else LP_PROXY= fi # Display the current Python virtual environment, if available if [[ "$LP_ENABLE_VIRTUALENV,$VIRTUAL_ENV" = 1,?* ]] ; then LP_VENV=" [${LP_COLOR_VIRTUALENV}${VIRTUAL_ENV##*/}${NO_COL}]" else LP_VENV= fi # Display the current software collections enabled, if available if [[ "$LP_ENABLE_SCLS,$X_SCLS" = 1,?* ]] ; then LP_SCLS=" [${LP_COLOR_VIRTUALENV}${X_SCLS%"${X_SCLS##*[![:space:]]}"}${NO_COL}]" else LP_SCLS= fi LP_RUNTIME=$(_lp_sl "$(_lp_runtime)") # if change of working directory if [[ "$LP_OLD_PWD" != "LP:$PWD" ]]; then # Update directory icon for MacOS X $_LP_TERM_UPDATE_DIR LP_VCS="" LP_VCS_TYPE="" # LP_HOST is a global set at load time # LP_PERM: shows a ":" # - colored in green if user has write permission on the current dir # - colored in red if not if [[ "$LP_ENABLE_PERM" = 1 ]]; then if [[ -w "${PWD}" ]]; then LP_PERM="${LP_COLOR_WRITE}:${NO_COL}" else LP_PERM="${LP_COLOR_NOWRITE}:${NO_COL}" fi fi _lp_shorten_path # set LP_PWD if _lp_are_vcs_enabled; then LP_VCS="$(_lp_git_branch_color)" LP_VCS_TYPE="git" if [[ -n "$LP_VCS" ]]; then # If this is a vcsh repository if [[ -n "$VCSH_DIRECTORY" ]]; then LP_VCS_TYPE="git-vcsh" fi # If this is a git-svn repository if [[ -d "$(\git rev-parse --git-dir 2>/dev/null)/svn" ]]; then LP_VCS_TYPE="git-svn" fi # git-svn else LP_VCS="$(_lp_hg_branch_color)" LP_VCS_TYPE="hg" if [[ -z "$LP_VCS" ]]; then LP_VCS="$(_lp_svn_branch_color)" LP_VCS_TYPE="svn" if [[ -z "$LP_VCS" ]]; then LP_VCS="$(_lp_fossil_branch_color)" LP_VCS_TYPE="fossil" if [[ -z "$LP_VCS" ]]; then LP_VCS="$(_lp_bzr_branch_color)" LP_VCS_TYPE="bzr" if [[ -z "$LP_VCS" ]]; then LP_VCS="" LP_VCS_TYPE="" fi # nothing fi # bzr fi # fossil fi # svn fi # hg else # if this vcs rep is disabled LP_VCS="" # not necessary, but more readable LP_VCS_TYPE="disabled" fi if [[ -z "$LP_VCS_TYPE" ]] ; then LP_VCS="" else LP_VCS="$(_lp_sl "${LP_VCS}")" fi # end of the prompt line: double spaces LP_MARK="$(_lp_sr "$(_lp_smart_mark $LP_VCS_TYPE)")" # The color is different if user is root LP_PWD="${LP_COLOR_PATH}${LP_PWD}${NO_COL}" LP_OLD_PWD="LP:$PWD" # if do not change of working directory but... elif [[ -n "$LP_VCS_TYPE" ]]; then # we are still in a VCS dir case "$LP_VCS_TYPE" in # git, git-svn git*) LP_VCS="$(_lp_sl "$(_lp_git_branch_color)")";; hg) LP_VCS="$(_lp_sl "$(_lp_hg_branch_color)")";; svn) LP_VCS="$(_lp_sl "$(_lp_svn_branch_color)")";; fossil) LP_VCS="$(_lp_sl "$(_lp_fossil_branch_color)")";; bzr) LP_VCS="$(_lp_sl "$(_lp_bzr_branch_color)")";; disabled)LP_VCS="";; esac fi if [[ -f "$LP_PS1_FILE" ]]; then source "$LP_PS1_FILE" fi if [[ -z "$LP_PS1" ]] ; then # add title escape time, jobs, load and battery PS1="${LP_PS1_PREFIX}${LP_TIME}${LP_BATT}${LP_LOAD}${LP_TEMP}${LP_JOBS}" # add user, host and permissions colon PS1="${PS1}${LP_BRACKET_OPEN}${LP_USER}${LP_HOST}${LP_PERM}" PS1="${PS1}${LP_PWD}${LP_BRACKET_CLOSE}${LP_SCLS}${LP_VENV}${LP_PROXY}" # Add VCS infos # If root, the info has not been collected unless LP_ENABLE_VCS_ROOT # is set. PS1="${PS1}${LP_VCS}" # add return code and prompt mark PS1="${PS1}${LP_RUNTIME}${LP_ERR}${LP_MARK_PREFIX}${LP_MARK}${LP_PS1_POSTFIX}" # "invisible" parts # Get the current prompt on the fly and make it a title LP_TITLE="$(_lp_title "$PS1")" # Insert it in the prompt PS1="${LP_TITLE}${PS1}" # Glue the bash prompt always go to the first column. # Avoid glitches after interrupting a command with Ctrl-C # Does not seem to be necessary anymore? #PS1="\[\033[G\]${PS1}${NO_COL}" else PS1=$LP_PS1 fi } prompt_tag() { export LP_PS1_PREFIX="$(_lp_sr "$1")" } # Activate the liquid prompt prompt_on() { # if liquidprompt has not been already set if [[ -z "$LP_OLD_PS1" ]] ; then LP_OLD_PS1="$PS1" if $_LP_SHELL_bash; then LP_OLD_PROMPT_COMMAND="$PROMPT_COMMAND" LP_OLD_SHOPT="$(shopt -p promptvars)" else # zsh LP_OLD_PROMPT_COMMAND="$(whence -f precmd)" fi fi if $_LP_SHELL_bash; then shopt -s promptvars PROMPT_COMMAND=_lp_set_prompt [[ "$LP_DEBUG_TIME" == 1 ]] && PROMPT_COMMAND="time $PROMPT_COMMAND" else # zsh # That doesn't seem to work: no time output #if [[ "$LP_DEBUG_TIME" == 1 ]]; then # function precmd { # local TIMEFMT='LiquidPrompt build time: %*E' # time _lp_set_prompt # } #else function precmd { _lp_set_prompt } #fi fi } # Come back to the old prompt prompt_off() { PS1=$LP_OLD_PS1 if $_LP_SHELL_bash; then eval "$LP_OLD_SHOPT" PROMPT_COMMAND="$LP_OLD_PROMPT_COMMAND" else # zsh precmd() { : ; } eval "$LP_OLD_PROMPT_COMMAND" fi } # Use an empty prompt: just the \$ mark prompt_OFF() { PS1="\$ " if $_LP_SHELL_bash; then shopt -u promptvars PROMPT_COMMAND="$LP_OLD_PROMPT_COMMAND" else # zsh precmd() { : ; } eval "$LP_OLD_PROMPT_COMMAND" fi } # By default, sourcing liquidprompt will activate the liquid prompt prompt_on # vim: set et sts=4 sw=4 tw=120 ft=sh: liquidprompt-v_1.9/liquidprompt.plugin.zsh000066400000000000000000000000341243076135300212160ustar00rootroot00000000000000source ${0%/*}/liquidprompt liquidprompt-v_1.9/liquidpromptrc-dist000066400000000000000000000077751243076135300204270ustar00rootroot00000000000000 #################################### # LIQUID PROMPT CONFIGURATION FILE # #################################### # If you want to use different themes and features, # you can load the corresponding files here: #source ~/.config/liquidprompt/nojhan.theme #LP_PS1_FILE="~/.config/liquidprompt/nojhan.ps1" ############# # BEHAVIOUR # ############# # Maximal value under which the battery level is displayed # Recommended value is 75 LP_BATTERY_THRESHOLD=75 # Minimal value after which the load average is displayed # Recommended value is 60 LP_LOAD_THRESHOLD=60 # Minimal value after which the temperature is displayed (in celsius degrees) # Recommended value is 60 LP_TEMP_THRESHOLD=60 # The maximum percentage of the screen width used to display the path # Recommended value is 35 LP_PATH_LENGTH=35 # How many directories to keep at the beginning of a shortened path # Recommended value is 2 LP_PATH_KEEP=2 # Do you want to display the hostname, even if not connected through network? # Defaults to 0 (do not display hostname when locally connected) # set to 1 if you want to always see the hostname LP_HOSTNAME_ALWAYS=0 # Do you want to display the user, even if he is the same than the logged one? # Defaults to 1 (always display the user) # set to 0 if you want to hide the logged user (it will always display different users) LP_USER_ALWAYS=1 # Do you want to display the percentages of load/batteries along with their # corresponding marks? Set to 0 to only print the colored marks. # Defaults to 1 (display percentages) LP_PERCENTS_ALWAYS=1 # Do you want to use the permissions feature ? # Recommended value is 1 LP_ENABLE_PERM=1 # Do you want to use the shorten path feature ? # Recommended value is 1 LP_ENABLE_SHORTEN_PATH=1 # Do you want to use the proxy detection feature ? # Recommended value is 1 LP_ENABLE_PROXY=1 # Do you want to use the jobs feature ? # Recommended value is 1 LP_ENABLE_JOBS=1 # Do you want to use the load feature ? # Recommended value is 1 LP_ENABLE_LOAD=1 # Do you want to use the batt feature ? # Recommended value is 1 LP_ENABLE_BATT=1 # Do you want to use vcs features with root account # Recommended value is 0 LP_ENABLE_VCS_ROOT=0 # Do you want to use the git special features ? # Recommended value is 1 LP_ENABLE_GIT=1 # Do you want to use the svn special features ? # Recommended value is 1 LP_ENABLE_SVN=1 # Do you want to use the mercurial special features ? # Recommended value is 1 LP_ENABLE_HG=1 # Do you want to use the fossil special features ? # Recommended value is 1 LP_ENABLE_FOSSIL=1 # Do you want to use the bzr special features ? # Recommanded value is 1 LP_ENABLE_BZR=1 # Show time of the last prompt display # Recommended value is 0 LP_ENABLE_TIME=0 # Show runtime of the last command if over LP_RUNTIME_THRESHOLD # Recommended value is 0 LP_ENABLE_RUNTIME=0 # Minimal runtime to be displayed # Recommended value is 2 LP_RUNTIME_THRESHOLD=2 # Display the virtualenv that is currently activated, if any # Recommended value is 1 LP_ENABLE_VIRTUALENV=1 # Display the enabled software collections, if any # Recommended value is 1 LP_ENABLE_SCLS=1 # Show average system temperature LP_ENABLE_TEMP=1 # When showing time, use an analog clock instead of numeric values. # The analog clock is "accurate" to the nearest half hour. # You must have a unicode-capable terminal and a font with the "CLOCK" # characters. # Recommended value is 0 LP_TIME_ANALOG=0 # Use the liquid prompt as the title of the terminal window # The content is not customizable, the implementation is very basic, # and this may not work properly on exotic terminals, thus the # recommended value is 0 # See LP_TITLE_OPEN and LP_TITLE_CLOSE to change escape characters to adapt this # feature to your specific terminal. LP_ENABLE_TITLE=0 # Enable Title for screen and byobu LP_ENABLE_SCREEN_TITLE=0 # Use differents colors for differents hosts you SSH in LP_ENABLE_SSH_COLORS=0 # Specify a list of complete and colon (":") separated paths in which, all vcs # will be disabled LP_DISABLED_VCS_PATH="" # vim: set et sts=4 sw=4 tw=120 ft=sh: liquidprompt-v_1.9/test.sh000077500000000000000000000155541243076135300157750ustar00rootroot00000000000000#!/bin/sh print_ok() { local OK="\\033[1;32m" local RAZ="\\033[0;39m" local cols=$1 local name=$2 # printf "\e${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK" printf "${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK" } print_no() { local NOK="\\033[1;31m" local RAZ="\\033[0;39m" local cols=$1 local name=$2 local sub=$3 local line=$4 # printf "\e${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line" printf "${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line" } assert() { local has=$1 local name=$2 local sub=$3 local line=$4 if [[ -z "$sub" ]] then return 1 fi cols=20 if [[ $has == 1 ]] ; then if [[ "$PS1" == *$sub* ]] then print_ok $cols "has $name" else print_no $cols "has $name" $sub $line fi elif [[ $has == 0 ]] ; then if [[ "$PS1" != *$sub* ]] then print_ok $cols " no $name" else print_no $cols " no $name" $sub $line fi else if [[ "$PS1" == $sub ]] then print_ok $cols " is $name" else print_no $cols " is $name" $sub $line fi fi } assert_has() { assert 1 "$@" } assert_not() { assert 0 "$@" } assert_is() { assert 2 "$@" } log_prompt() { echo -e "$PS1" 1>&2 } ##################### # REDEFINE COMMANDS # ##################### command() { echo "fake command $@" 1>&2 echo "/bin/fake" } uname() { echo "fake uname $@" 1>&2 echo Linux } nproc() { echo "fake nproc $@" 1>&2 echo 2 } # battery acpi() { echo "fake acpi $@" 1>&2 if [[ "x$1" == --battery ]]; then echo 'Battery 0: Discharging, 55%, 01:39:34 remaining' elif [[ "x$1" == -t ]]; then echo 'Thermal 0: ok, 36.0 degrees C' else return 1 fi } git() { echo "fake git $@" 1>&2 case $1 in "rev-parse" ) echo ".git";; "branch" ) echo "* fake_test";; "diff" ) echo "2 1 fake_file" return 1;; "status" ) echo "# Untracked";; "rev-list" ) echo 111;; esac } # global variables export http_proxy="fake" ########################## # Call the liquid prompt # ########################## # As if we were in an interactive shell export PS1="fake prompt \$" # load functions source ./liquidprompt # Force liquid prompt function redefinition _lp_cpu_load() { echo "fake _lp_cpu_load $@" 1>&2 echo "0.64" } ################ # ADHOC CONFIG # ################ export LP_BATTERY_THRESHOLD=60 export LP_LOAD_THRESHOLD=1 export LP_MARK_PROXY="proxy" export LP_MARK_BATTERY="BATT" export LP_MARK_LOAD="LOAD" export LP_MARK_UNTRACKED="untracked" export LP_MARK_GIT="gitmark" export LP_USER_ALWAYS=1 # Force erroneous command fake_error # Force set prompt _lp_set_prompt ######### # TESTS # ######### echo "FULL PROMPT" log_prompt assert_has Battery_Mark BATT $LINENO assert_has Battery_Level 55% $LINENO assert_has Load_Mark LOAD $LINENO assert_has Load_Level 32% $LINENO assert_has User "[\\\u" $LINENO if [[ $LP_HOSTNAME_ALWAYS == 0 ]] ; then assert_not Hostname "\\\h" $LINENO else assert_has Hostname "\\\h" $LINENO fi assert_has Perms : $LINENO assert_has Path $(pwd | sed -e "s|$HOME|~|") $LINENO assert_has Proxy proxy $LINENO assert_has Error 127 $LINENO assert_has GIT_Branch fake_test $LINENO assert_has GIT_Changes "+2/-1" $LINENO assert_has GIT_Commits 111 $LINENO assert_has GIT_Untrack untracked $LINENO assert_has GIT_Mark gitmark $LINENO # start hiding features echo "DISABLE BATTERY" export LP_ENABLE_BATT=0 _lp_set_prompt log_prompt assert_not Battery_Mark BATT $LINENO assert_not Battery_level 55% $LINENO assert_not Error 127 $LINENO echo "HIDE BATTERY LEVEL" export LP_ENABLE_BATT=1 export LP_BATTERY_THRESHOLD=50 _lp_set_prompt log_prompt assert_has Battery_Mark BATT $LINENO assert_not Battery_level 55% $LINENO assert_not Error 127 $LINENO alias acpi="echo 'Battery 0: Full, 100%'" _lp_set_prompt log_prompt assert_not Battery_Mark BATT $LINENO echo "DISABLE LOAD" export LP_ENABLE_LOAD=0 _lp_set_prompt log_prompt assert_not Load_Mark LOAD $LINENO assert_not Load_Level 32% $LINENO echo "HIDE LOAD" export LP_ENABLE_LOAD=1 export LP_LOAD_THRESHOLD=40 _lp_set_prompt log_prompt assert_not Load_Mark LOAD $LINENO assert_not Load_Level 32% $LINENO echo "DISABLE PROXY" export LP_ENABLE_PROXY=0 _lp_set_prompt log_prompt assert_not Proxy_Mark proxy $LINENO echo "NO PROXY" export LP_ENABLE_PROXY=1 export http_proxy="" _lp_set_prompt log_prompt assert_not Proxy_Mark proxy $LINENO echo "DISABLE GIT" export LP_ENABLE_GIT=0 _lp_set_prompt log_prompt assert_not GIT_Branch fake_test $LINENO assert_not GIT_Changes "+2/-1" $LINENO assert_not GIT_Commits 111 $LINENO assert_not GIT_Untrack untracked $LINENO assert_not GIT_Mark gitmark $LINENO assert_has User_Mark $ $LINENO echo "NO GIT" export LP_ENABLE_GIT=1 alias git="echo" _lp_set_prompt log_prompt assert_not GIT_Branch fake_test $LINENO assert_not GIT_Changes "+2/-1" $LINENO assert_not GIT_Commits 111 $LINENO assert_not GIT_Untrack untracked $LINENO assert_not GIT_Mark gitmark $LINENO assert_has User_Mark $ $LINENO # create a deep dir tree current=$PWD for d in $(seq 20) ; do dirname="" for i in $(seq 5); do dirname="$dirname$d" done mkdir -p $dirname cd $dirname done echo "DISABLE SHORTEN PATH" export LP_ENABLE_SHORTEN_PATH=0 _lp_set_prompt log_prompt assert_has Path "$(pwd | sed -e "s|$HOME|~|")" $LINENO echo "ENABLE SHORTEN PATH" export LP_ENABLE_SHORTEN_PATH=1 export LP_PATH_LENGTH=35 export LP_PATH_KEEP=1 _lp_set_prompt log_prompt assert_has Short_Path " … " $LINENO # get back out of the deep tree cd $current echo "LOCAL HOST NAME" _lp_set_prompt log_prompt # As the hostname is set once at the script start, # and not re-interpret at each prompt, # we cannot export the option in the test script. # We thus rely on the existing config. if [[ $LP_HOSTNAME_ALWAYS == 0 ]] ; then assert_not Hostname "\\\h" $LINENO else assert_has Hostname "\\\h" $LINENO fi echo "prompt_OFF" prompt_OFF log_prompt assert_is Prompt "$ " $LINENO echo "prompt_on" prompt_on export LP_USER_ALWAYS=1 log_prompt assert_has User "\\\u" $LINENO assert_has Perms : $LINENO assert_has Path $(pwd | sed -e "s|$HOME|~|") $LINENO # assert_has Path "\\\w" $LINENO assert_has Prompt "$ " $LINENO