Noah Gorny
8e6876719b
lib: Add BASH_IT_DEVELOPMENT_BRANCH variable
2020-10-13 14:42:02 +03:00
Noah Gorny
d7aebe17a3
plugins: Rename SCM_GIT_GITSTATUS_PLUGIN_SH_LOC to SCM_GIT_GITSTATUS_DIR
...
Also fix the destructor in case plugin did not load as expected
2020-06-22 14:57:06 +03:00
Noah Gorny
3eac73f613
plugins: Rename gitstatusd plugin to gitstatus
2020-06-22 14:57:05 +03:00
Noah Gorny
6294797986
Rename SCM_GIT_GITSTATUSD_LOC to SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC
2020-06-22 14:56:13 +03:00
Noah Gorny
5d14030591
plugins: Add gitstatud plugin
2020-06-22 14:55:25 +03:00
Markus Krause
83fdc89ec1
implement gitstatusd support
2020-06-19 19:45:58 +03:00
Alex Thiessen
83c44fac64
template/profile: Require interactive shell
...
Bash is run either in interactive mode (e.g. in a terminal) or
non-interactive mode (e.g. on an SSH server handling an SCP request). In
the latter example, any output performed by bash-it's actions will be
interpreted as SCP reply on the client side, typically leading to failed
transfers. This is a well-known limitation of the SCP:
https://bugzilla.redhat.com/show_bug.cgi?id=20527 .
In bash's own bashrc example, the first lines of code query for the mode
and return early if it's non-interactive:
http://git.savannah.gnu.org/cgit/bash.git/tree/examples/startup-files/bashrc?h=bash-5.0#n1 .
This practice is adopted by Linux distributions (e.g. Ubuntu) and
probably other systems.
Current mode can be queried as described here:
https://www.gnu.org/software/bash/manual/html_node/Is-this-Shell-Interactive_003f.html .
Copy the according lines from Debian stretch's default .bashrc (as found
in https://packages.debian.org/stretch/bash under /etc/skel/.bashrc) to
the bash-it profile template to disable bash-it for non-interactive
shells.
As a side effect, this change makes SCP faster since the server doesn't
need to run any bash-it code in context of SCP handling.
2019-02-05 00:15:38 +01:00
daniel.schroeder
b03a93cd2b
disable theming by checking theme var for value
2018-11-02 10:47:55 +01:00
Piotr Rogoża
b288ecbd27
Added legacy alias reload: https://github.com/Bash-it/bash-it/issues/1120#issuecomment-354376835
2018-04-25 19:53:06 +02: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
Álvaro Brey
597285cdfd
Support shortened command & dir name in xterm title plugin
...
This allows the user to see only last level of the current path (if dirname is longer than 8 chars),
and only first word of the ongoing command line if it's longer than 8 chars.
2017-04-26 17:11:53 +02:00
Álvaro Brey
f3d36d7a42
Support short username in xterm title plugin
2017-04-21 12:48:31 +02:00
Motasem Salem
d72dbd5d29
Fixed a typo
2016-12-21 22:14:12 -05:00
Ira Abramov
52efa850df
was asked to avoid changing default behavior.
2016-11-07 11:17:58 +02:00
Ira Abramov
2a0700d700
support short hostnames in xterm title
2016-11-06 13:44:49 +02:00
Nick Silva
16b455d0c6
add BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE option
2016-08-01 11:19:17 -07:00
Nils Winkler
93c909474f
Merge pull request #214 from kimptoc/master
...
Updated reference for vcprompt
2016-06-01 13:15:51 +02:00
Travis Swicegood
4cef46271d
Add sample BASH_IT_REMOTE to bash_profile template
2016-03-25 18:06:03 -05:00
Justin Dray
7923b865ea
Allow for any install location
2015-10-14 13:08:04 +00:00
Benjamin Brombach
4510c9ee63
fixes #343 by surrounding $HOME (which can have spaces) with quotations marks
2015-04-29 14:56:46 +02:00
Nils Winkler
98437efb15
Moved nginx settings to plugin.
...
These settings shouldn't be in the profile template, as they only make sense when used with nginx.
If you're using nginx, you can enable the nginx plugin.
2015-03-30 11:13:01 +00:00
Nils Winkler
a6e9a2e538
Removed RVM loading, it's already done in the rvm plugin.
2015-03-29 12:43:05 +02:00
Nils Winkler
800a5f9dbe
Merge pull request #434 from ipoval/fix_path_to_commands_installed_with_user_install_gems
...
fix path to commands installed by gem install --user-install
2015-03-26 19:23:06 +01:00
Ivan Povalyukhin
0dfd477978
fix path to commands installed by gem install --user-install
2015-03-26 09:00:20 -07:00
Ivan Povalyukhin
fc77a8ce0f
fix textmate path on some platforms
2015-03-26 08:50:34 -07:00
Ivan Povalyukhin
ef84346cb8
minor fix in Readme to add to the customization list
2015-03-25 19:52:38 -07:00
Carlos E. Reynosa-Nunez
a90aabf6f9
Fixed typo in comments.
2014-10-04 19:14:57 -07:00
Carlos E. Reynosa-Nunez
e100c159d1
Added the base theme version control status check flag to the template bash profile. This will allow for easy changing of the flag's value without needing to understand the base theme file.
2014-10-04 17:35:15 -07:00
Chris Kimpton
fa3c694522
Updated path for vcprompt source
...
https://github.com/xvzf/vcprompt is not valid
2013-06-17 12:20:07 +02:00
Eitan Adler
3fc60b5358
Fix bogus bash binary location
2012-04-17 00:24:58 -04:00
John Schulz
323ce20a2d
Replace `$BASH` with `$BASH_IT` because `$BASH` is already used on *nix systems for the pathname to the executable ( http://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html#Bash-Variables )
2011-09-20 11:07:48 -04:00
Mark Szymanski
10ac773170
Get rid of old, unneeded jekyll config stuff
2011-06-24 17:45:37 -05:00
Florian Baumann
0798a8034a
removed hcht plugin. there are several bugs which couldn't be fixed so far without rewriting the whole module
2011-03-27 20:28:47 +02:00
Jesus de Mula Cano
0127dc2dc7
Add safe vcprompt use to demula theme and monokai colors. Update default template to include vcprompt path.
2011-03-06 18:49:08 +01:00
Florian Baumann
c00bde6bbd
moved config of hcht to bash_profile template
2010-12-01 06:45:42 +01:00
Mark Szymanski
1dd1add7a7
Changed "~" to "$HOME" for JEKYLL_LOCAL_ROOT variable. Sometimes ~ works, sometimes not. I know for a fact that $HOME does though.
2010-11-01 20:57:35 -05:00
Mark Szymanski
61fcd21162
Added the last jekyll variable we will need... hopefully.
2010-11-01 20:24:53 -05:00
Mark Szymanski
0b3773839b
Added TODO variable for todo.txt-cli aliases
2010-10-31 10:02:25 -05:00
Mark Szymanski
4958a5520b
added IRC_CLIENT variable for the irc alias
2010-10-25 17:51:04 -05:00
Mark Szymanski
96ccdaee51
Added some variables that the jekyll aliases need
2010-10-23 10:58:44 -05:00
Robert R Evans
a3ccf49d67
Added an extra comment to the bash profile template
2010-10-12 08:27:04 -07:00
Robert R Evans
70c3b523b3
Added a couple more themes and put colors into its own file
2010-10-03 11:50:22 -07:00
Robert R Evans
1f923a90ad
Added more color support for git themeing
2010-10-03 09:41:36 -07:00
Robert R Evans
149c18fd58
Small updates
2010-10-02 15:47:22 -07:00
Robert R Evans
a4d0242dd0
Help files. Added the rest of bash it
2010-10-02 15:07:29 -07:00