Commit Graph

68 Commits (c88a4bfa8900541adb23f8e88fd9e3a80f624cae)

Author SHA1 Message Date
Ira Abramov d6239cf190 Merge branch 'master' of https://github.com/bash-it/bash-it into ira/autosave-history-plml
* 'master' of https://github.com/bash-it/bash-it: (114 commits)
  ci: Bump go to 1.17 from 1.14
  skip go tests when go is not available
  plugins: Add ble.sh plugin
  clean up pyenv plugin
  Lint: prepare `lib/utilities` for `shellcheck` (#1933)
  plugin/base: improvements (#1930)
  plugins/percol: `bind`
  completion/git: `shfmt` && `shellcheck`
  completion/git: expand search range
  plugin/percol: `shellcheck` & `shfmt`
  plugins/percol: use `_command_exists`
  completion/pip: simplify code flow
  plugin/less-pretty-cat: remove `|| cat`
  completion/wpscan: simplify code flow (whitespace)
  plugins/less-pretty-cat: simplify code flow
  plugins/less-pretty-cat: use `_command_exists`
  lib/helpers: cite `_bash-it-find-in-ancestor()`
  gradle: adopt `_bash_it_find_in_ancestor()`
  lib/helpers: new function `_bash-it-find-in-ancestor()`
  completion/laravel: simplify code flow
  ...
2021-10-11 08:32:15 +03:00
Ira Abramov c3d333ddc4 fix based on remarks on PR 2021-10-10 15:25:45 +03:00
ofir shtrull 2444a57cc5
feat: add k8s namespace indicator (#1887)
* Add k8s namespace to prompt
2021-06-10 16:04:56 +03:00
Cristian Lupascu 1e6113f7b7 Add command duration to the powerline theme family
Fix the __powerline_duration_prompt: location & unused variable `prompt`

Remove the duration segment from powerline* theme defaults

Different color for duration prompt segment
2021-06-05 13:47:54 +03:00
Ira Abramov 9f4c71d40f Add history flushes on each command to the powerline themes. 2021-05-19 10:54:28 +03:00
Ofir Shtrull ffc1701c0a Add to prompt google gcloud active account 2021-03-11 18:25:23 +02:00
Noah Gorny 1702e0217a docs: Remove themes readmes 2020-12-04 17:24:26 +02:00
Kan Li c13850faa2 Address some comments. 2020-11-28 19:07:10 -08:00
Kan Li 8ce9d8daa5 Add in_toolbox prompt to powerline themes
[Toolbox](https://github.com/containers/toolbox) is an containerized
development environment. This commit adds a promot to powerline when it
is running inside a toolbox.
2020-11-28 12:18:13 -08:00
Ira Abramov c42e3e8b21 Removed trailing whitespaces 2020-10-29 19:57:14 +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
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 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
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
Eduardo Bellido Bellido a6e912854a Show NodeJS version in Powerline themes (#1438)
Currently, only nvm is supported.
2019-12-02 08:36:57 +01: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
Eduardo Bellido Bellido f757cad45a Add new segment, aws_profile, to powerline themes 2018-10-31 20:23:34 +01:00
Saulius Gurklys 025554d79d Add minimal HG prompt to powerline themes 2018-10-06 16:44:37 +03:00
madcarrot ecdf6af08d
Update powerline-multiline.base.bash 2018-05-15 16:22:41 -04:00
madcarrot 094c846464
Update powerline-multiline.base.bash 2018-05-13 16:35:34 -04:00
Florian Molitorisz f8d5ffe84c
fix hostname prompt
https://github.com/Bash-it/bash-it/issues/1145
2018-04-11 17:37:29 +02:00
Will Price 396bedf11e Improve documentation on prompt options for powerline themes 2018-02-16 19:51:22 +00:00
Nils Winkler d0df07435e Added configurable padding value to Powerline-Multiline theme
Required on macOS High Sierra with the default Terminal app, otherwise,
the right segment would extend to the next line.
2018-01-08 08:56:49 +01:00
Eduardo Bellido Bellido d779fd6fe4 New customization options
Added two new variables:

POWERLINE_LEFT_END
POWERLINE_RIGHT_END

used to change the end character of the the left and right parts.
2017-12-19 22:31:59 +01:00
Eduardo Bellido Bellido 898bb10579 Fix powerline themes README.md 2016-11-09 21:04:18 +01:00
Eduardo Bellido Bellido 7229838c5b Powerline multiline theme refactor
- Split functions and options in two files
- Import common functions from powerline theme
- Updated README.md
2016-10-30 01:16:37 +02:00
MunifTanjim a2a6fa2812 refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
Nils Winkler 66397ef577 Revert "Changes to sudo check for powerline themes" 2016-09-26 09:01:59 +02:00
Vedhapriya Raman 28e9e04d4f Changes for issue# 744 2016-09-23 20:50:55 -05:00
Yuhao Wu af96da5d11 Fix bug: themes break global $PROMPT_COMMAND variable
Safely append functions to $PROMPT_COMMAND instead of setting it.
2016-07-07 17:13:00 +09:00
Nils Winkler e5d50f0d97 Simplified logic for both Linux and OS X
Avoiding the if statements, using exit code of `grep -q` instead.

Reverted the change that adds a space after the AC char. Opting for a
default value, allowing to override from one's profile.
2016-04-14 08:16:32 +02:00
Nils Winkler a9c5670c2c Added AC indicator support on OS X
Not sure about the logic for returning 1/0 from the function, though -
will have to clarify.
2016-04-12 09:56:03 +02:00
Konstantin Gredeskoul 6de871294e Adding support for rbenv in addition to rvm
- following existing patterns, clearing out RBENV prefix and suffix
- using existing function to read the prompt
2016-03-14 03:25:32 -07:00
Eduardo Bellido Bellido f05c56a440 Set fallback values to POWERLINE_LEFT_PROMPT and POWERLINE_RIGHT_PROMPT variables 2016-02-03 23:03:07 +01:00
Nils Winkler 5617cc2e31 Fixed spelling and wording
Some minor changes in spelling, wording and formatting.
2016-02-01 08:32:19 +01:00
Eduardo Bellido Bellido 30c6fd1f59 Refactor __powerline_last_status_prompt function 2016-01-30 12:19:34 +01:00
Eduardo Bellido Bellido f6436a878e Fix some regressions and variables names 2016-01-30 12:18:07 +01:00
Eduardo Bellido Bellido ead5047fb9 Reduce unset calls 2016-01-30 11:33:00 +01:00
Eduardo Bellido Bellido 8bee21e428 Update powerline-multiline README.md 2016-01-27 01:27:11 +01:00
Eduardo Bellido Bellido 6d4923aca8 Now, segments can be placed at left or at right
- Code refactor
- Print code converted into functions
- Remove unused variables
- Improved conistence in naming, variable and functions
2016-01-27 01:07:14 +01:00