Commit Graph

740 Commits (9b51dc0b5fc9f1ee5af12b6d7991017e252b64ab)

Author SHA1 Message Date
Ira Abramov 3a1283dad5 Fix EOF 2020-10-29 19:57:14 +02:00
Ira Abramov c42e3e8b21 Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
BarbUk 5e65235d0e
Theme barbuk - add venv glyph and fix venv display in ssh mode (#1681)
* Add python venv glyph

* Fix venv display (tested for local and ssh prompt)

* Add documentation for python venv
2020-10-21 00:27:48 +03:00
Nils Winkler 8a8a9018bb
Merge pull request #1668 from zzhengnan/master
Make bobby and bobby-python themes more readable
2020-10-02 10:40:45 +02:00
Zhengnan Zhao f3cb4e5122 Make bobby and bobby-python themes more readable 2020-10-01 23:45:57 -04:00
phreakocious ee7075b5f1 add that pesky dollar sign 2020-10-01 08:07:18 -07:00
phreakocious 5e101fce34 fix __color_rgb function to properly compare r,g,b as variables and not lettersg 2020-09-30 22:09:42 -07:00
8F3E 43dfe23d10 Declare python_venv as a local variable 2020-09-23 11:32:18 +01:00
8F3E 185257e971 Detect python venv and show in prompt 2020-09-22 11:31:05 +01:00
Oliver Ruben Albertini ba02955340 hg SCM_CHANGE: prevent hexdump squeezing
hexdump by default will replace any repeated groups with an asterisk and
a newline, which breaks prompts. This can be disabled with the `-v`
flag. For example:

```
printf 'aac' | hexdump -e '1/1 "%02x"'
61*
63
printf 'abc' | hexdump -e '1/1 "%02x"'
616263
printf 'aac' | hexdump -ve '1/1 "%02x"'
616163
```
2020-09-12 09:58:37 -07:00
Guilherme Paula d8a0e8444d [robbyrussell theme] Cleaning up bold markup after theme 2020-09-01 13:52:50 -03:00
Noah Gorny 3eac73f613 plugins: Rename gitstatusd plugin to gitstatus 2020-06-22 14:57:05 +03:00
Noah Gorny 5d14030591 plugins: Add gitstatud plugin 2020-06-22 14:55:25 +03:00
Noah Gorny fb2e8549ad themes: Tidy base.theme and remove uneeded changes 2020-06-19 21:50:21 +03:00
Markus Krause 3c0738ba43 fix expansion inconsistency 2020-06-19 19:45:59 +03:00
Markus Krause feae99431a implement feedback 2020-06-19 19:45:59 +03:00
Markus Krause 83fdc89ec1 implement gitstatusd support 2020-06-19 19:45:58 +03:00
Nils Winkler 47512a1624
Checking for SVN return code 2020-06-14 19:31:25 +02:00
Nils Winkler 2ba3797da6
Added check for SVN not available 2020-06-09 14:07:17 +02:00
Nils Winkler caced3b65f
Using $() instead of backticks to make shellcheck happy 2020-06-09 14:07:17 +02:00
Nils Winkler 1555f729ce
Merge pull request #1599 from davidpfarrell/issue/1598-powerline-plain
Fixed quoting on POWERLINE_PROMPT_AFTER
2020-05-18 10:07:34 +02:00
Nils Winkler b9bb5ebd70
Merge pull request #1594 from kfkonrad/robbyrussell
add robbyrussell theme

Closes #329
2020-05-18 09:56:04 +02:00
David Farrell 981929cff0
Fixed quoting on POWERLINE_PROMPT_AFTER 2020-05-16 15:05:26 -07:00
buhl 3bfec8e682 Removed empty VIRTUAL_ENV declaration in the base theme 2020-05-13 22:01:20 +02:00
Al Johri b3631ba13a add ohmyzsh, robbyrussell theme 2020-05-13 18:18:32 +02:00
buhl ad9876e6e3 Removed initialization of empty VIRTUAL_ENV
When spawning a new bash session when entering a virtual environment
the VIRTUAL_ENV is overwritten by this line.
However not having this line does not affect the bin/activate script.
2020-05-09 12:13:11 +02:00
Matthew Adams 8f3872acb8 review2 2020-05-07 13:08:27 -05:00
Matthew Adams dddb863657 change from feedback 2020-05-02 08:43:08 -05:00
Matthew Adams e2150602c7 add powerline config for prompt after chars 2020-05-01 09:17:18 -05:00
BarbUk c4b8d4cf2e
Update documentation 2020-04-08 11:06:44 +04:00
BarbUk b968ecac80
Update custom var naming 2020-04-08 11:06:26 +04:00
Nils Winkler 4e5c241095
Merge pull request #1538 from davidpfarrell/themes/barbuk/defaults
theme/barbuk: Update prefix for overrides
2020-04-08 08:54:39 +02:00
Nils Winkler f4618ae918
Merge pull request #1536 from BarbUk/update/barbuk_theme_ssh
Theme barbuk: Add ssh detection and user@host information in ssh session
2020-04-01 10:17:33 +02:00
BarbUk 3c6ffeb44f
Update theme var prefix 2020-04-01 12:09:54 +04:00
Nils Winkler a1b78effb0
Merge pull request #1540 from davidpfarrell/plugins/brainy/sudo
theme/brainy: Update sudo check method
2020-04-01 10:02:21 +02:00
David Farrell 1d6b01018d
theme/brainy: Update sudo check method 2020-03-31 14:11:05 -07:00
BarbUk 0896ff2fb3
Use same notation for user@hostname 2020-04-01 01:08:38 +04:00
BarbUk d6d4e4bc7d
Fix typo 2020-04-01 01:05:15 +04:00
BarbUk 78db4d56f0
Update documentation to explain new BARBUK_HOST_INFO configuration 2020-04-01 01:02:24 +04:00
David Farrell d79fc5027b
theme/atomic: update sudo check method 2020-03-31 14:02:22 -07:00
BarbUk 347995d33e
Allow to customize hostname format 2020-04-01 01:02:01 +04:00
BarbUk 6d0744a928
Update documentation 2020-04-01 00:48:11 +04:00
BarbUk d39eb053cf
Allow to disable ssh info 2020-04-01 00:46:58 +04:00
David Farrell 6943996f0b
Revert the NONE_CHAR override 2020-03-31 10:21:02 -07:00
David Farrell 9e443009ac
theme/barbuk: Update prefix for overrides 2020-03-31 10:15:22 -07:00
David Farrell 8c44bae797
theme/barbuk: Update prefix for overrides 2020-03-31 10:12:19 -07:00
BarbUk 337ed0de9a
Documentation for ssh and sudoer configuration 2020-03-31 12:16:06 +04:00
BarbUk 81c4ed70ea
Add user@host information for ssh session 2020-03-31 12:15:28 +04:00
Nils Winkler ca843e7b93
Merge pull request #1535 from buhl/simple-sudo-check
Simplified-sudo-check
2020-03-31 08:51:58 +02:00
buhl 303e0a937e Simplified-sudo-check 2020-03-30 21:46:46 +02:00
BarbUk f4cc8ddb77
Allow git glyphs customization 2020-03-30 14:23:58 +04:00
BarbUk 611d4f234f
Update font documentation 2020-03-30 02:11:30 +04:00
BarbUk 5654874aee
Documentation: font usage for theme barbuk 2020-03-30 01:53:27 +04:00
salex 21885dabb4 add THEME_SHOW_RUBY_PROMPT. 2020-03-20 19:25:45 +08:00
salex fd162c0786 add RUBY_VERSION_PROMPT_DISABLED parameter for PS1 prompt. 2020-03-20 09:44:06 +08:00
salex 7f8652999b fix code review issues. 2020-03-19 21:27:54 +08:00
salex 167dc43a87 envy theme add python virtual_env display support. 2020-03-18 14:07:22 +08:00
BarbUk c0af591f2f
Add theme barbuk 2020-03-09 17:24:18 +04:00
Nils Winkler 95da7f27c7
Merge pull request #1464 from radeksm/feature/theme-radek
New theme for Python developers
2020-03-03 08:37:50 +01:00
Radoslaw Smigielski 4c23c1c90b Update theme name 2020-03-03 06:39:41 +00:00
Ofir Shtrull 381a0069c3 changed order of params 2020-02-27 23:32:43 +02:00
Ofir Shtrull a578fa81e4 more cleanup 2020-02-27 22:10:38 +02:00
Ofir Shtrull 84ad65c309 cleanup 2020-02-27 21:52:21 +02:00
Ofir Shtrull 936a79f619 now usable by all prompts 2020-02-27 20:53:35 +02:00
Ofir Shtrull 78397ad598 Add terraform workspace to prompt 2020-02-27 14:40:57 +02:00
Nils Winkler eab3f6c469
Merge pull request #1481 from 1pav/theme-bira
Bira theme
2020-01-28 08:28:19 +01:00
1pav 41059a5b15 Port of Oh My Zsh's Bira theme 2020-01-24 22:58:52 +01:00
Scott Jackson 10032b8370 looks like agnoster uses spaces instead of tabs. 2020-01-24 10:07:19 -05:00
Scott Jackson 8472675007 fix ramses, mairan, and agnoster shell quoting with virtual env 2020-01-24 10:06:19 -05:00
Scott Jackson a9a94e1cd2 Make zork theme not choke on strange characters 2020-01-22 16:42:21 -05:00
David Farrell 00ef69e99c
Only apply POWERLINE_PADDING once 2019-12-31 12:06:52 -08:00
David Farrell 920a97a264
Adds compact support to powerline themes 2019-12-30 11:29:12 -08:00
David Farrell 8d5233ac19
Fixes prompt color 2019-12-30 09:25:16 -08:00
David Farrell 546b4e948f
Adds last segment prompt char to powerline default theme 2019-12-30 09:25:12 -08:00
David Farrell e8ac112583
Adds history/command vars to remaining themes 2019-12-29 10:25:32 -08:00
David Farrell ee5e1b63bc
Adds history + command line number to powerline themes 2019-12-29 10:22:40 -08:00
David Farrell e0c0a770d6
Updates README files for dirstack segment 2019-12-28 09:19:32 -08:00
David Farrell f8ae0494e8
Adds dirstack segment to powerline themes 2019-12-28 09:15:42 -08:00
Nils Winkler 1383af0ca8
Merge pull request #1445 from davidpfarrell/soft-separator
Adds soft-separator support to powerline main + multiline themes
2019-12-28 13:15:21 +01:00
David Farrell 224fc123dc
Updates README files for shlvl segment 2019-12-27 10:16:35 -08:00
David Farrell 8123b1c887
Adds shlvl segment to powerline themes 2019-12-27 10:16:07 -08:00
Nils Winkler eb21a1da6c
Merge pull request #1446 from davidpfarrell/short-user-hostname
Adds SHORT_USER/HOSTNAME support to powerline themes
2019-12-27 17:10:08 +01:00
Nils Winkler 9df232017d
Merge pull request #1450 from davidpfarrell/naked-prompt-bg-color
Fixes prompt bg color on powerline naked theme
2019-12-27 17:08:24 +01:00
Radoslaw Smigielski ac7d877911 New theme for Python developers
Colorful theme for Python developers with no external
requirements.
2019-12-19 21:05:59 +00:00
David Farrell 921cfea68d
Makes NODE vars configurable 2019-12-18 19:32:49 -08:00
David Farrell db2c6683f1
Makes all powerline vars configurable
Makes all powerline vars configurable

Makes all powerline vars configurable

Makes all powerline vars configurable
2019-12-18 19:22:28 -08:00
Youssef El Saadany 7460ee0496 New Vi-mode theme 2019-12-06 15:06:13 +01:00
Eduardo Bellido Bellido a6e912854a Show NodeJS version in Powerline themes (#1438)
Currently, only nvm is supported.
2019-12-02 08:36:57 +01:00
Nils Winkler 9d6bb73356
Merge pull request #1430 from Zanark/gitline-theme
Added a new gitline theme
2019-11-20 08:41:56 +01:00
David Farrell 5a2dbd4780
Fixes prompt bg color on powerline naked theme 2019-11-06 15:05:32 -08:00
Zanark fcc3631a9a resolved powerline.base path issue 2019-11-04 15:22:18 +05:30
Zanark f0c1caa090 resolved powerline.base path issue 2019-11-04 15:19:52 +05:30
David Farrell 55ce895141
Adds SHORT_USER/HOSTNAME support to powerline themes 2019-11-01 23:16:39 -07:00
David Farrell 83abf624dd
Updates README files for soft separators 2019-11-01 17:51:22 -07:00
David Farrell 349c1df556
Adds soft-separator suport to powerline themes 2019-11-01 10:38:34 -07:00
Zanark f99ccbd1f2 Removed redundant code and added some descriptive comments 2019-10-18 11:13:19 +05:30
Nils Winkler 6c64ba26f1
Merge pull request #1432 from zwfang/newin
Add a new theme named newin :)
2019-10-16 09:07:45 +02:00
zwfang 0e8b6775b9 Add a new theme named newin :) 2019-10-12 21:31:21 +08:00
Mattia Rigotti 05ded88465 Set SEXY_THEME_SHOW_PYTHON variable default value 2019-10-12 11:52:53 +02:00
Mattia Rigotti a50a4ff633 Rename variable to SEXY_THEME_SHOW_PYTHON 2019-10-12 11:50:54 +02:00
Mattia Rigotti 08785d96b5 Delete stand-alone theme sexy-python 2019-10-12 11:48:51 +02:00
Zanark 9a543ead48 renamed files 2019-10-12 13:15:24 +05:30
Zanark ea02e3d6bd added theme bash files 2019-10-10 16:54:43 +05:30
Mattia Rigotti 861b910a06 Merge branch 'theme_sexy_with_python' of https://github.com/matrig/bash-it into theme_sexy_with_python 2019-10-04 12:51:57 -04:00
Mattia Rigotti ed47edcb06 Remove themes/sexy-python (it is now integrated in themes/sexy) 2019-10-04 12:51:23 -04:00
Mattia Rigotti b0a22e0b97 In themes/sexy add option to visualize python environment 2019-10-04 12:50:06 -04:00
Mattia Rigotti 8b7333cd29 Add theme/sexy-python, a modified version of sexy which shows in which virtualenv or condaenv you are 2019-10-04 12:48:16 -04:00
Mattia Rigotti 92d7e29125 Add theme/sexy-python, a modified version of sexy which shows in which virtualenv or condaenv you are 2019-09-27 14:22:01 -04:00
Stanko 4b2812cbdf Trivial fix for clean theme 2019-09-13 10:57:01 +02:00
Nils Winkler 721412aa4c
Merge pull request #1395 from zhao-li/toggle-able_commit_count
Toggle able commit count
2019-09-02 08:45:19 +02:00
Jacob Hrbek 1de985c460 themes/agnoster : initial
Initial commit of agnoster theme.

Credit: Isaac "Agnoster" Wolkerstorfer https://github.com/agnoster
- original creator

Credit: Kenny Root https://gist.github.com/kruton/8345450 coverted from 
zsh to bash

Credit: Toan Nguyen https://github.com/nntoan published in 
ohmybash/oh-my-bash (https://github.com/ohmybash/oh-my-bash)

Credit: https://github.com/speedenator patch for kruton's work and 
maintainance.

Credit: Hanish K H Updated & fixed on oct-05-2017
2019-07-30 11:09:17 +02:00
Eduardo Bart 4c0a51aee2 Optimize SCM checks 2019-07-23 12:50:27 -03:00
Zhao Li 62757b0f3f allow the count information to be turned on or off 2019-07-08 10:52:44 -10:00
Nils Winkler 6329d3bdd2
Merge pull request #1379 from leventyalcin/feature/save_history_immediately
add an env var that themes can save history immediately
2019-07-08 08:47:09 +02:00
Nils Winkler 498f3b41f2
Merge pull request #1389 from martinus/master
Improved subversion support for powerline
2019-07-08 08:41:06 +02:00
Nils Winkler 943e887415
Merge pull request #1387 from zhao-li/feature/customizable_git_ahead_behind_prefix
allow customizing the character before ahead and behind characters
2019-07-08 08:37:12 +02:00
Martin Ankerl 0bafdbbef9 faster subversion status
Stop as soon as "svn status" shows a change, not needed to walk through
all the changes in the whole repository. For my large repository this is
about twice as fast.

Extract just the information we need from "svn info"
2019-06-24 11:28:53 +02:00
Martin Ankerl e42405705a Improved subversion support for powerline
SVN prompt also when in subdirectories that don't contain .svn
Show correct SVN status for powerline
2019-06-24 11:02:15 +02:00
Levent Yalcin e93cc67bcd
added a function instead running the same check and commands in every theme 2019-06-10 13:39:35 +01:00
Levent Yalcin 23fab13d85
requested changes has been made. 2019-06-10 10:57:52 +01:00
Zhao Li dc61f85196 allow the space before SCM_GIT_AHEAD_CHAR and SCM_GIT_BEHIND_CHAR to be customizable 2019-06-07 15:46:24 -10:00
Szymon Szypulski 1e10ad1813 Ignore unset and empty Kubernetes context
When current-context does not exist or is unset in $KUBECONFIG, kubectl
is throwing a message to stderr "error: current-context is not set".

Ignore it.
2019-05-22 06:54:11 +02:00
Levent Yalcin 09a48d89cc
add an env var that themes can save history immediately 2019-05-20 14:18:32 +01:00
Taylor Silva d72ad7b482 Add modern-time theme
It's the modern theme with the battery charge indicator replaced with
the current time
2019-04-21 23:30:45 -04:00
Nils Winkler 84d099bee4
Merge pull request #1339 from AnthonyWharton/fix-git-display
Remove escape characters in SCM_BRANCH variable
2019-03-19 09:28:31 +01:00
tbhaxor 9576b878c8
🐛 fix in prompt 2019-03-14 13:11:04 +05:30
tbhaxor 7a88b6524e
deleted unnecessary line 2019-03-14 13:04:37 +05:30
tbhaxor 2eeaf522c0
added parrot os like terminal prompt 2019-03-14 01:54:35 +05:30
Anthony Wharton 81c3f70900 Add eval to SCM_BRANCH in powerline theme 2019-03-08 11:35:51 +00:00
jrab66 cb74bd63b9 squash screenshot 2019-01-25 15:00:21 -06:00
Dan Beste 7b41736d17
New theme: essential
A simple, console-compatible Bash-it theme.

Features:
  * Reactive coloring for:
    * Privileged and standard users.
    * Local and remote hosts.
    * Exit status for prompt strings 1 and 2.
  * Console-compatible!
    * No unicode "tofu" in console sessions.
  * Matching alignment for prompt strings 1 and 2.

Preview:

    $PS1| $TIME $USER@$HOST:$PWD
    $PS1|  + function foo() {
    $PS2|  |   bar
    $PS2|  |   baz
    $PS2|  | }
2018-12-28 21:26:28 -06:00
Travis Swicegood b5976ada25 Merge remote-tracking branch 'origin/master' into GH-1142 2018-12-02 21:01:15 -06:00
Jeremy Mathevet 7e26ae28bf
Add kubernetes-context segment to powerline 2018-11-13 12:29:53 +00:00
Eduardo Bellido Bellido f757cad45a Add new segment, aws_profile, to powerline themes 2018-10-31 20:23:34 +01:00
sharils d0f76548ce Add SCM_GIT_SHOW_STASH_INFO flag #914
In order to make `git_prompt_vars` run faster
As a user with slow `git stash list`
I want to be able to optionally disable running `git stash list` when
`git_prompt_vars` is executed
2018-10-16 22:05:06 +08:00
Saulius Gurklys 025554d79d Add minimal HG prompt to powerline themes 2018-10-06 16:44:37 +03:00
Dinos Stamou 28c55f86db Fix Demula theme first line issue 2018-09-25 17:11:37 +03:00
penguin2048 e6d6b47abe Add virtual env support for elixr theme 2018-09-10 19:20:22 +05:30
Cody Horst 681aa230d8 add support for conda 2018-08-14 20:40:28 -07:00
Nils Winkler 3d6d42ec2f
Merge pull request #1211 from dracorp/fork
The function _git-hide-status is invoked to late
2018-07-18 09:19:42 +02:00
Nils Winkler b5e5a70424
Merge pull request #1213 from gsmadi/fix/python3.7-version-prompt
Display only first line of Python 3.7 version
2018-07-18 09:07:01 +02:00
Yuri V 5ea271a956 changet ruby symbol to 💎 2018-07-17 17:07:58 +03:00
Gabriel Smadi af16e9e68b Display only first line of Python 3.7 version 2018-07-14 20:39:19 -04:00
Piotr Rogoza f484fadbb1 The function _git-hide-status is invoked to late 2018-07-12 06:32:11 +00:00
Nils Winkler 762dce01dc
Merge pull request #400 from teknikprogramlama/master
Powerturk theme derived from powerline theme
2018-06-04 08:55:28 +02:00
Jonathan Barnes a25ac59b84 Add `codeword` theme
- Single line PS1
- Shares history in realtime among bash windows
2018-06-03 17:08:52 -07:00
Norbu Tsering 6a5915d0d6 Added norbu theme 2018-06-01 01:17:03 -04:00
Nils Winkler 1b887b2916
Merge pull request #1192 from madcarrot/master
Update powerline theme to avoid overlapping left and right prompt
2018-05-24 08:20:14 +02:00
Nils Winkler 6d967abbcc
Merge pull request #1194 from joshbmarshall/master
Fix bold text issue
2018-05-24 08:12:00 +02:00
penguin2048 badc3beddf Add bold text in elixr theme 2018-05-21 23:09:09 +05:30