Commit Graph

477 Commits (cfab5eeac53bd68e7831a597792ceee9657cf00b)

Author SHA1 Message Date
Travis Swicegood ce6a90c220 Add ability to specify the path color 2017-10-18 16:03:06 -05:00
Nils Winkler 145ec5dfaa Copied command_exists function to the helpers lib so that there is no hidden dependency on the base plugin
The original command_exists function will stay in the base plugin, but will no longer be used by other plugins or themes.
2017-09-17 21:05:59 +02:00
con-f-use 7e68558176 Add gitignore for liquidprompt 2017-07-16 18:28:47 +02:00
con-f-use 238375c4d8 Liquidprompt Theme
see: https://github.com/nojhan/liquidprompt

Might be a bit hacky, but people can improve on it.
2017-07-16 10:51:49 +02:00
Nils Winkler 4590042177 Merge pull request #997 from lfelipe1501/patch-1
Changes in the battery plugin and in the Atomic Theme
2017-07-13 08:42:46 +02:00
Tobi Schäfer 2c08308f0c fix: missing virtualenv prompt 2017-07-07 15:02:54 +02:00
Luis Felipe Sánchez d2fb415856 Update atomic.theme.bash
Improvements in the theme
2017-07-03 12:09:27 -05:00
Nils Winkler 11469fe235 Fix battery_percentage check in Atomic theme
Check for the return value "no", which is returned when no battery check funcationality is available in the OS. This is now consistent with how the Brainy theme does this.
2017-06-24 17:31:31 +02:00
Nils Winkler e13c75c433 Add safeguard for no battery percentage available 2017-06-24 17:31:31 +02:00
Nils Winkler c33861a9b0 Change dependency check for battery_char function 2017-06-24 17:31:31 +02:00
Nils Winkler 3fac1c7ea5 Fix checks for battery plugin
These now check for the presence of the required function instead of
checking for the battery file in the enabled directory.
2017-06-24 17:31:31 +02:00
Clay Reimann ff114660db Guard against unset COLUMNS
When logging in to a new CentOS 7 machine COLUMNS has not been set before the theme is evaluated, causing the following error:
```shell
irongiant-mbp → ssh clayreimann@toren.ddns
Last login: Fri Jun 23 10:05:11 2017 from cpe-24-209-155-17.wi.res.rr.com
-bash: /1: syntax error: operand expected (error token is "/1")
-bash-4.2$ 
```

This fix is based on advice from https://stackoverflow.com/a/3601734
2017-06-23 09:12:46 -05:00
Luis Felipe Sánchez d4bc67ffdd Update Theme
Minor Fixes
2017-06-15 15:37:01 -05:00
Luis Felipe Sánchez 794b1661f6 Create README.md 2017-06-15 15:32:53 -05:00
Tim Noise bb4ac06839 minor bugfix 2017-06-15 07:12:30 +00:00
Luis Felipe Sánchez 7d318def48 Update atomic.theme.bash
Theme improved to 100%
2017-05-28 13:39:48 -05:00
Luis Felipe Sánchez f936b1e485 Update atomic.theme.bash
Minor Updates u_u
2017-05-26 13:41:08 -05:00
Luis Felipe Sánchez 692c3516d5 Update atomic.theme.bash
Minor Updates
2017-05-26 13:38:22 -05:00
Luis Felipe Sánchez 8e98790c1d Update atomic.theme.bash
- Changed the dependence of the battery plug-in.
- Now checking if the function of the battery plugin exists, otherwise it will not load.
2017-05-26 13:35:11 -05:00
Luis Felipe Sánchez 6e1477a8aa Update atomic.theme.bash
- Reverted Battery Segment to the original.
- Now the segment is the same for all operating systems.
- Battery Plugin control segment battery in theme.
- I have cleaned and organized the code 😃
2017-05-25 23:43:18 -05:00
Luis Felipe Sánchez 7a51ea23ee Improvements in Atomic theme
Operating system detection was added to show the percentage of the battery in the promt
2017-05-25 00:21:30 -05:00
Luis Felipe Sánchez a064a01ce3 Update README.md
Updated Installation Instructions.
2017-05-22 14:53:56 -05:00
Luis Felipe Sánchez 23e1bb9a7b New theme Atomic added and reverted the theme Brainy by default
- Brainy theme reverted to original.
- add Atomic theme based on the original brainy.
- Special thanks to @MunifTanjim and @nwinkler for such excellent job.
2017-05-22 14:26:13 -05:00
Luis Felipe Sánchez c2eaa27af8 Update Readme
The installation method has been updated.
2017-05-16 07:59:08 -05:00
Luis Felipe Sánchez 757de0ebfd Corrections and Optimizations
Corrections and Optimizations
2017-05-15 09:50:24 -05:00
Luis Felipe Sánchez f511349152 Corrections and Optimizations
Readme update
2017-05-15 09:45:59 -05:00
Luis Felipe Sánchez 6a49cde998 Corrections and Optimizations
Corrections and Optimizations
2017-05-15 09:36:15 -05:00
Luis Felipe Sánchez 875fa9f2d8 readme update
readme update install commands
2017-05-12 12:04:13 -05:00
Luis Felipe Sánchez c92d12bed1 Fixed and improved the theme
Corrected problem with prompt where sometimes keeped part of previous commands when scrolling history
2017-05-12 11:57:21 -05:00
Nils Winkler 1022879553 Merge pull request #956 from Lin-Buo-Ren/fix-space-proof-issue-everywhere
Fix more space-in-path-proof issues
2017-05-08 09:13:04 +02:00
Luis Felipe Sánchez 3c60c2e678 Fix for all Operating Systems
All Operating Systems Supported
2017-05-04 08:50:53 -05:00
Luis Felipe Sánchez 4a1d1623af Fix Colors
Fix Colors to all Operatin Systems
2017-05-03 17:47:21 -05:00
Luis Felipe Sánchez 5e0e1bda81 img changed
New Changes in the new img
2017-05-02 17:11:21 -05:00
Luis Felipe Sánchez 3c26c6394f New Changes UI
New Changes in UI intefaz from pront and SUDO plugin with emoji icon
symbol
2017-05-02 16:59:03 -05:00
林博仁 e2d3419639 Fix more space-in-path-proof issues
Signed-off-by: 林博仁 <Buo.Ren.Lin@gmail.com>
2017-05-02 11:11:13 +08:00
Luis Felipe Sánchez 13f30838ba Improvements in the theme for a better appearance, I hope you like, added the option of downloading the battery for a better style.
Improvements in the theme for a better appearance, I hope you like,
added the option of downloading the battery for a better style.
2017-04-28 13:55:38 -05:00
Ivan Font 301060cce2 Update font theme
- Use new user_host_prompt to add more configurability to theme
- Disable default clock being shown
2017-04-24 10:19:14 -07:00
Ivan Font 0ce7b8f4e0 Add function for user@host in prompt 2017-04-23 18:02:27 -07:00
DenMat 01e5cee40c make this consistent like other declarations 2017-04-19 19:03:40 +10:00
DenMat a5c693b6bc Addresses vulnerability describe here https://github.com/Bash-it/bash-it/issues/920
* white lists acceptable characters and replaces dangerous characters with '-'
2017-04-19 18:45:50 +10:00
Nils Winkler 5fbef7c0cb Merge pull request #934 from pix0r/master-pure-virtualenv
Add virtualenv to pure theme
2017-04-11 08:08:35 +02:00
Mike Matz 18364434ca Use virtualenv_prompt from base.theme.bash 2017-04-10 07:08:23 -07:00
Daijiro Wachi a014282707 Fix white color in colors.theme 2017-04-10 12:01:59 +02:00
Mike Matz 5dd75d3fd9 Add virtualenv to pure theme 2017-04-09 21:52:35 -07:00
Jeremy Mathevet 588213980d Prevent unbound variable errors 2017-03-21 12:04:18 +00:00
Nils Winkler c58088b509 Merge pull request #905 from font/font_theme
Added new font theme
2017-02-14 08:53:34 +01:00
Nils Winkler db7ad196b7 Made the change from #902 available to Powerline themes 2017-02-14 08:49:45 +01:00
Nils Winkler 1dc3ee7efa Merge pull request #902 from arimourao/powerline-sudo-fix
enable powerline theme to check if user can sudo his workstation
2017-02-14 08:43:00 +01:00
Ivan Font ba25652662 Added new font theme 2017-02-12 16:58:48 -08:00
Ari Mourao 7d9628d4f5 refactoring to comply with standards 2017-02-12 14:03:45 -02:00
Nils Winkler 889ce4a9f3 Merge pull request #886 from font/scm_prompt_char_info
Add AIO function to echo scm prompt char and info
2017-02-12 10:15:58 +01:00
Ari Mourao 4eeb98772b added suggested improvements 2017-02-10 16:43:22 -02:00
Ari Mourao 7415c85ed8 corrected typo 2017-02-09 15:22:49 -02:00
Ari Mourao c7c488f0b0 enable powerscript to check if user can sudo his workstation 2017-02-09 14:45:25 -02:00
ari mourao 88802c141b new theme 90210 added 2017-02-03 15:12:49 -02:00
Ivan Font 31e3d78ae4 Fix exact match regular expression for macOS 2017-01-29 22:38:58 -08:00
Tim Noise 6e1f389952 bugfix: powerline - IFS doesnt split \x20 in prompt on some machines 2017-01-30 06:10:28 +11:00
Tim Noise b5e9e2386f . 2017-01-30 05:44:55 +11:00
Tim Noise 808b6bd253 fixed ssh detection on el for powerline 2017-01-30 05:43:11 +11:00
Tim Noise 3d4c46bd12 Added redline theme, based on powerline
redline:
- added redline features to powerline
- added screenshot
- updated redline readme
- bugfix: resetting foreground color when distro logo is enabled
- fixed redline default element ordering

powerline:
- neater check for cached sudo
- started adding support for custom cwd separator glyph and color

bash-it:
- added sublime text to .gitignore
2017-01-30 05:08:07 +11:00
Tim Noise e8b130a277 commented todo 2017-01-30 04:51:52 +11:00
Tim Noise 3ef6c0b66b - fixed bug : resetting foreground color when distro logo is enabled
- neater check for cached sudo
- started adding support for custom cwd separator glyph and color
2017-01-30 04:34:45 +11:00
Tim Noise a9a26a8112 element ordering 2017-01-28 15:15:22 +11:00
Tim Noise bf3600c7e1 - added redline features to powerline
- added screenshot
- updated readme
2017-01-28 04:56:33 +11:00
Tim Noise d03dfbd372 readme again -_- 2017-01-27 18:12:19 +11:00
Tim Noise b92cedda87 readme minor 2017-01-27 18:08:06 +11:00
Tim Noise 4ea5b21bb3 Added redline theme, based on powerline 2017-01-27 17:55:25 +11:00
Ivan Font 1f0108193d Fix for issue #883 2017-01-17 21:21:19 -08:00
Ivan Font 17999fcc13 Update bobby theme to use scm_prompt_char_info
The bobby theme now uses scm_prompt_char_info to print out the SCM char
and SCM prompt info. This also required fixing the
SCM_THEME_PROMPT_PREFIX to match GIT_THEME_PROMPT_PREFIX.
2017-01-16 23:23:13 -08:00
Ivan Font 48d4ad274a Add prefix and suffix capability to SCM char 2017-01-16 23:20:31 -08:00
Ivan Font 9e4f1d6d80 Refactor common code into scm_prompt_info_common 2017-01-16 22:14:15 -08:00
Ivan Font f9b1dcee26 Add AIO function to echo scm prompt char and info
Invoking the scm_char and scm_prompt_info functions separately for PS1
duplicates calls to the scm and scm_prompt_char functions to check what
${SCM}, if any, we currently reside in. This problem was exacerbated
when working outside of any repo as we had to go through all the
conditionals just to determine we're not in any scm repo. Unnecessary
conditionals slows down the prompt so this adds a new function that
streamlines printing out both the scm char and scm prompt info with one
invocation.
2017-01-16 22:14:15 -08:00
Ivan Font a70b769817 Remove references to GIT_THEME_* variables 2017-01-04 17:43:56 -08:00
Ivan Font 1d55249181 Refactor functions and update documentation
Add new variable to enable/disable git prompt minimal status information
and consolidate functions for code re-use. Also update README
documentation to capture the usage of new variable.
2017-01-04 15:48:32 -08:00
Ivan Font a068e3b66e Add option for basic git status prompt
Fixes #873
2016-12-31 12:43:23 -08:00
Avasz 966a2bb383 Added credits 2016-12-09 10:40:42 +05:45
Avasz d7d4cb9807 kitsune theme 2016-12-09 10:35:09 +05:45
Peter Benjamin 65e2514c63 Add theme: purity 2016-12-07 09:58:24 -08:00
Ivan Font 771082cdc2 Add prefix/suffix for clock prompt and clock char 2016-12-05 09:04:29 -08:00
MunifTanjim f132df6eff refactor brainy theme, add todo segment & ssh indicator and other minor updates 2016-11-24 21:09:15 +06:00
Eduardo Bellido Bellido 898bb10579 Fix powerline themes README.md 2016-11-09 21:04:18 +01:00
MunifTanjim 62554b84c8 add brainy theme 2016-10-31 05:57:39 +06:00
Nils Winkler 8a2b6bdc54 Merge pull request #815 from edubxb/powerline-themes-refactor
Refactor of all powerline themes
2016-10-30 16:22:15 +01:00
Eduardo Bellido Bellido 7427e7efc3 Powerline plain theme refactor
- Split functions and options in two files
- Import common functions from powerline theme
- Add README.md
2016-10-30 01:17:57 +02:00
Eduardo Bellido Bellido 47e6d57a82 Powerline naked theme refactor
- Split functions and options in two files
- Import common functions from powerline theme
- Add README.md
2016-10-30 01:16:47 +02: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
Eduardo Bellido Bellido 34bd7e49c3 Powerline theme refactor
- Split functions and options in two files
- Add README.md
2016-10-30 01:16:05 +02:00
MunifTanjim 8c9777df43 revert pull 797 2016-10-21 21:03:51 +06:00
MunifTanjim a2a6fa2812 refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
MunifTanjim 8dde691671 standardize clock functions 2016-10-18 20:31:07 +06:00
MunifTanjim 08fba38c43 fix backward compatibility 2016-10-17 16:10:44 +06:00
MunifTanjim 7d901b11b6 seperate clock_char function 2016-10-17 04:11:09 +06:00
MunifTanjim 01dab32683 modify clock prompt for better customizability 2016-10-17 03:37:25 +06:00
MunifTanjim 4468c1b126 improve scm_prompt_info 2016-10-08 12:44:34 +06:00
Nils Winkler 66397ef577 Revert "Changes to sudo check for powerline themes" 2016-09-26 09:01:59 +02:00
Nils Winkler 5abbba98bd Merge pull request #792 from VP468/vp468
Changes to sudo check for powerline themes - fixes #744
2016-09-26 14:55:19 +08:00
Vedhapriya Raman 28e9e04d4f Changes for issue# 744 2016-09-23 20:50:55 -05:00
Damian Kaczmarek b992698380 Fix bold font to make simple theme really simple 2016-09-23 14:22:09 -05:00
Sam Gunaratne 1a4c03b08c Fixes issue with PROMPT_COMMAND ending in semi-colon 2016-08-03 10:04:24 +01:00
Nils Winkler 22d5dab238 Merge pull request #761 from wanelo/master
Wanelo Pairing workstations theme
2016-08-01 09:03:11 +02:00