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
Nils Winkler
68409f3566
Revert "Update base.theme.bash with RUBY interpreter version check"
2017-11-28 08:25:25 +01:00
Luis Felipe Sánchez
31a0c6a9fd
Update base.theme.bash
...
Added feature to detect the ruby version interpreter
```bash
rb_interp_prompt
```
and added to the existing function to be used in any theme.
2017-11-22 10:14:38 -05:00
KeLiu
e325859afb
use $SHORT_HOSTNAME if set
...
change `${HOSTNAME}` to `${SHORT_HOSTNAME:=$HOSTNAME}`
2017-11-17 17:07:43 +08:00
Nils Winkler
4743fc5b4b
Merge pull request #1090 from maikelmeyers/master
...
bash-it themes must not set the TERM variable
2017-11-13 04:03:37 +01:00
Nils Winkler
856afc5d6a
Merge pull request #1089 from telmofcosta/allow-theming-git-stash-char
...
Allow theming git stash chars
2017-11-13 04:02:17 +01:00
Telmo Costa
1fd3fa2440
Allow theming git stash chars
2017-11-12 17:42:11 +00:00
Maik
3e2ecba318
bash-it themes must not set the TERM variable. The used terminal emulator is responsible to set this variable correctly.
2017-11-11 18:02:04 +01:00
Nils Winkler
80810a08f0
Merge pull request #1088 from lfelipe1501/patch-3
...
Update README.md
2017-11-11 13:15:57 +01:00
Luis Felipe Sánchez
ad2112ca50
Update README.md
2017-11-10 14:38:33 -05:00
Nils Winkler
e9f6ab5a0f
Merge pull request #1085 from Stimim/master
...
support bash-preexec
2017-11-10 08:19:59 +01:00
Luis Felipe Sánchez
0008bec5d7
Update README.md
...
Update Readme for fix image demo
2017-11-09 16:50:12 -05:00
Wei-Han Chen
5ff7df1607
support bash-preexec
2017-11-07 02:59:25 +08:00
brossaip
00732ad210
Add discharging character in brainy theme
...
I have followed the same technique as it is done in atomic theme
2017-11-06 18:01:30 +01:00
Luis Felipe Sánchez
7fbfc3f356
Update README.md
2017-10-30 16:26:43 -05:00
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
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