Commit Graph

499 Commits (3d6d42ec2f14a1cd17f39ec499c741f1ef28d675)

Author SHA1 Message Date
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
penguin2048 9260e16278 Add elixr theme 2018-05-21 22:56:14 +05:30
Josh Marshall bca7051a62
Fix bold text issue
The default text style was not being set back to normal so terminal output was rendering bold, e.g. for an ls command
2018-05-18 11:52:35 +10: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
Ethan Edwards 3bb21ba1e9 removed unneeded default value 2018-04-30 13:43:16 -05:00
Ethan Edwards 1a7ebf4da7 change to setting variables to empty value before use 2018-04-30 13:40:08 -05:00
Ethan Edwards 10d075c9c5 merge latest upstream 2018-04-30 13:36:39 -05:00
Arunvel Sriram a3f5d4de91 Move variable declaration to the right place 2018-04-27 11:58:30 +05:30
Arunvel Sriram b96596dadc Make powerline-naked left prompt char configurable 2018-04-27 11:46:59 +05:30
Piotr Rogoża 67629aba2d On some hosts scm* functions does not work properly if a vcs tool is missing 2018-04-24 21:50:34 +02:00
Nils Winkler 3f2c2ddddd
Revert "fix wd_prompt multiline croping" 2018-04-20 08:00:06 +02:00
Florian Molitorisz ea1f235856
fix wd_prompt multiline croping 2018-04-18 00:44:45 +02:00
Jason Al-Mansor e6a6bb5deb fix hostname in remaining powerline themes 2018-04-15 14:32:18 -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 8d18d1f69c Correct variables -> variable in powerline theme READMEs 2018-02-19 10:41:33 +00:00
Will Price 396bedf11e Improve documentation on prompt options for powerline themes 2018-02-16 19:51:22 +00:00
Shashank Bharadwaj 353cb210d4 Add priliminary support for perforce SCM
This patch adds very simple support for the Perforce SCM:
    https://www.perforce.com/

Although perforce is proprietary software, it's somewhat prevalent in enterprise
companies. This patch looks to provide some basic bash_it functionality that
I've come to love for git. I base everything off of two perforce commands:
    $ p4 set
This command does not require a connection the perforce server, it simply tells
us if a directory is managed by the Perforce SCM or not. In addition the
command:
    $ p4 opened

is used to provide the list of pending changes in the client and the number of
opened files in the client. The `p4 opened` command requires a connection to the
perforce server, hence it's run under a `timeout` command. The "p4 opened"
processing into it's own bash file that now has to be sourced at the top-level
bash-it.sh. Since the processing in simple the newly added: _p4-opened-counts
function returns a number of things that are not currently used, but since I had
awk open and doing the processing, I've chosen to include them in the output
anyway.

Testing:
  - Tested with the powerline-multiline theme in a few perforce based
    workspaces/clients
  - Ran:
      ❯ shellcheck themes/p4helpers.theme.bash
    and fixed all the errors
  - Ran the test suite:
      ❯ test/run
      [...]
      182 tests, 0 failures, 1 skipped
2018-02-14 17:53:09 -08:00
Ethan Edwards f5c483cfaa GH-1140 add additional uninitialized variable coverage 2018-02-06 11:27:28 -06:00
Ethan Edwards 3eb5e037f9 GH-1140 add safe usage of SCM variable 2018-02-06 03:32:08 -06: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
阿信sxq 517f6c94f9 revert the backslash in the base file, and remove it in theme 'axin', fix the git branch name show error 2018-01-02 18:10:38 +08:00
阿信sxq 40fd3813d3 remove the escape char to fix git repo branch prompt show error 2017-12-31 16:20:55 +08:00
Nikos Skalkotos f512f71100
clean theme: Fix scm coloring
Remove zsh stuff and fix coloring
2017-12-28 17:53:14 +02:00
Nikos Skalkotos 2ada230c4c
clean theme: Remove extra \ 2017-12-28 16:29:10 +02:00
Philipp Eschenbach 4387beda46 fix simple theme 2017-12-28 10:02:13 +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
Nils Winkler fe1ae061cc
Merge pull request #1018 from wendorf/git-helpers
Allow non-alphanumeric git branch names
2017-12-19 09:19:38 +01:00
Dan Wendorf c5f2c408e7 SCM_CURRENT_USER supports accented characters
`tr 'A-Z' 'a-z'` will only convert non-accented characters. Switching to
`[:upper:]` and `[:lower:]` adds support for accents.
See https://github.com/koalaman/shellcheck/wiki/SC2018

Additionally, printf's character splitting does not support accented
characters, so output isn't as expected. Using bash's variable expansion
syntax instead will correctly get the full accented character.
2017-12-18 09:05:33 -08:00
Dan Wendorf 150e82b221 Refactor git functionality into githelpers.theme.bash
- Add unit tests around git functionality
2017-12-18 09:05:33 -08:00
Eduardo Bellido Bellido dfc7b8ed80 Fix some regressions in Powerline theme 2017-12-18 01:37:05 +01:00
Tim Noise 54d6a10601 i am bad at git 2017-12-16 16:53:45 +11:00
Tim Noise 0eb02456e2 updated theme to latest
- fixed minor errors in powerline.base when pulling from origin master
2017-12-16 16:45:55 +11:00
Tim Noise 02d0997e0a Merge branch 'master' of https://github.com/Bash-it/bash-it 2017-12-16 16:37:27 +11:00
Nils Winkler d318c6536f
Merge pull request #1103 from dsem/fix-brainy-virtualenv-box
Reset VIRTUALENV vars in brainy theme
2017-12-15 08:21:21 +01:00
Nils Winkler 12f5b6e5a1
Merge pull request #1106 from danflies/new-powerline-theme
Added a New Theme
2017-12-12 07:15:26 +01:00
Dan Flies e3abf2d231 Revert "Changed the broken icons"
This reverts commit 4986468e89.
2017-12-11 13:07:45 -06:00
Nils Winkler 0267554c22 Fixed issue introduced in #1109
With the added $ in there, it would show an error in Git repos:

-bash: ##: command not found
2017-12-11 11:35:52 +01:00
Robin Richtsfeld c86038d61d Fix some Bash issues 2017-12-09 15:06:22 +01:00
Dan Flies 1ff3cfbe4d Removed new theme in favor of adding to Powerline theme 2017-12-08 10:00:42 -06:00