Commit Graph

1413 Commits (d05c88a23b6a27b7e4fe510c49e377ff37f97d01)

Author SHA1 Message Date
mairanteodoro 18f9a8ebc4 Add new theme 'mairan' (based on 'zork') 2016-05-18 12:57:05 -04:00
Matt Broyles 76d026f2ad added about and group metadata 2016-05-18 09:33:12 -05:00
Matt Broyles 05385d43d7 Moved killrails to plugins, added newline, added meta information, cut indentation to 2 spaces. 2016-05-17 16:10:54 -05:00
Matt Broyles 871472d93d Added function to kill daemonized rails server 2016-05-16 20:17:47 -05:00
Nils Winkler 13b643e93e Merge pull request #715 from kigster/search-then-enable-disable
Feature: add negations to search, as well as --enable or --disable all of the search results
2016-05-15 16:44:04 +02:00
Konstantin Gredeskoul db5061cf80 Better tests, more resilience and a bug fix 2016-05-12 04:04:51 -07:00
Telyn ZF Roat 47f9689868 Add rough port of oh-my-zsh's gallifrey theme 2016-05-12 11:55:23 +01:00
Nils Winkler 335e1774ce Merge pull request #718 from ravenhall/curl_aliases
Added convenience aliases for curl
2016-05-11 09:16:56 +02:00
ravenhall 110828b3c5 Added convenience aliases for curl 2016-05-10 15:37:34 -05:00
Nils Winkler 122158573f Merge pull request #716 from ravenhall/plenv_plugin
Initial plenv plugin created.
2016-05-10 08:10:11 +02:00
ravenhall e689e1fdb9 Initial plenv plugin created. Fails silently when plenv not found, only munges path if plenv path exists 2016-05-09 18:27:57 -05:00
Konstantin Gredeskoul 81e3f1121b Get the test in a known state 2016-05-07 06:42:48 -07:00
Konstantin Gredeskoul 1a02db13bc Adding documentation 2016-05-07 06:39:40 -07:00
Konstantin Gredeskoul 9bb2d377a8 Enable/Disable with negated search feature 2016-05-07 06:26:30 -07:00
Konstantin Gredeskoul fb6a6c80c0 Highlighting color of enabled components 2016-05-07 04:23:03 -07:00
Konstantin Gredeskoul ffbeeacc54 Moving search into its own module before more work 2016-05-07 04:19:03 -07:00
Nils Winkler a0acb927cc Merge pull request #711 from nwinkler/todo
Removed embedded todo script
2016-05-04 08:39:41 +02:00
Nils Winkler ca889da3e7 Removed embedded todo script
Fixes #710
2016-04-26 09:20:45 +02:00
Nils Winkler bc2ae26fa8 Merge pull request #707 from AlfredoBejarano/theme/copperkid-theme
Adds cooperkid theme by AlfredoBejarano
2016-04-22 08:28:33 +02:00
AlfredoBejarano cff6025338 Removes pipes around ruby version 2016-04-20 00:58:08 -05:00
AlfredoBejarano d2acf16646 Changes color for git status prompt 2016-04-20 00:32:28 -05:00
AlfredoBejarano 07236c0571 Adds spacing to git status icon
and changes the dirty and ahead icons
2016-04-20 00:29:02 -05:00
AlfredoBejarano d8a22e6a0e Adds cooperkid theme by AlfredoBejarano 2016-04-20 00:07:18 -05:00
Nils Winkler d25835fbb9 Merge pull request #702 from nwinkler/battery-ac-osx
Added AC indicator support on OS X
2016-04-15 08:30:06 +02: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
Nils Winkler 5035b2d815 Merge pull request #701 from umhan35/add-git-gui-as-ggui
Add ggui (git gui) to git.aliases.bash
2016-04-12 08:41:51 +02:00
Zhao Han ab1f44c3b7 Merge pull request #1 from umhan35/master
Update osx.aliases.bash
2016-04-11 20:44:58 -05:00
Zhao Han 833ae57c9a Add ggui (git gui) to git.aliases.bash 2016-04-11 20:39:23 -05:00
Zhao Han fb88e70213 Update osx.aliases.bash 2016-04-11 20:28:04 -05:00
Nils Winkler fd8ff61baa Merge pull request #697 from clayreimann/patch-1
Display the prompt when changing directories
2016-04-10 12:55:35 +02:00
Nils Winkler 41103bd206 Merge pull request #698 from PaulDapolito/master
Updating git.completion.bash to latest version.
2016-04-10 12:54:23 +02:00
Nils Winkler da229eaa08 Merge pull request #699 from bmalehorn/precompute
colors.theme.bash: pre-compute colors, startup 3x faster
2016-04-10 12:53:01 +02:00
Brian Malehorn 2a3fde2b14 colors.theme.bash: pre-compute colors
bash-it takes rather a while to startup, around 0.5 seconds on my
laptop. After a bit of timing it appears the majority of the time is
spent in themes/colors.theme.bash. The reason for that is the fancy
abstraction layers that use $(). For example, consider this code:

    red="$(color reset red)"

It will go through 9 forkexecs to evaluate:

    red="$(color reset red)"
        "$(__color_parse make_ansi reset red)"
        "$(__make_ansi reset red)"
        "\[\e[$(__reset red)m\]"
        "\[\e[0;$(__red)m\]"
        "\[\e[0;$(__color red)m\]"
        "\[\e[0;$(__color_normal_fg $(__color_red))m\]"
        "\[\e[0;$(__color_normal_fg 1)m\]"
        "\[\e[0;31m\]"

With all the variables in colors.theme.bash, this adds up to hundreds of
forks:

    $ strace -f bash ./colors.theme.bash 2>&1 | grep clone | wc -l
    649

The solution is to replace the function with its result:

    -red="$(color reset red)"
    +red='\[\e[0;31m\]'

This is safe, since colors.theme.bash never calls external functions or
takes any input. So, its result can be safely hard-coded.

This improves startup time dramatically. Try adding "time" to your .bashrc:

    # Load Bash It
    time source $BASH_IT/bash_it.sh

before:

    real    0m0.462s
    user    0m0.100s
    sys     0m0.399s

after:

    real    0m0.150s
    user    0m0.091s
    sys     0m0.064s
2016-04-09 20:52:47 -07:00
Clay Reimann 93d70a6150 Display the prompt when changing directories
This change allows for the capture of the expanded prompt (rather than the raw `PS1`) so that
it is easier to maintain context when changing directories.

Fix is based on the comments from [this stackoverflow](http://stackoverflow.com/a/24006864)
2016-04-08 12:27:25 -05:00
Paul Dapolito 28c6d17632 Updating git.completion.bash to latest version from git source code mirror. 2016-04-08 09:38:06 -07:00
Nils Winkler fd6c5e23c0 Merge pull request #696 from nwinkler/autojump
Added Autojump plugin
2016-04-05 08:06:23 +02:00
Nils Winkler 1e81df5004 Added Autojump plugin
See https://github.com/wting/autojump for more details.

Currently only supports the version installed through Homebrew on OS X.
Please feel free to provide a PR for supporting additional installation
options.
2016-04-05 08:04:47 +02:00
Nils Winkler cab3cf998b Merge branch 'kigster-tests-must-work' into upstream_master 2016-04-02 19:17:45 +02:00
Nils Winkler e0035e5f61 Merge branch 'tests-must-work' of https://github.com/kigster/bash-it into kigster-tests-must-work 2016-04-02 19:15:31 +02:00
Travis Swicegood fc70767315 Ensuring BASH_IT is set before running tests 2016-04-02 02:35:48 -07:00
Eduardo Bellido Bellido 3447cba6a3 Merge pull request #694 from edubxb/fix-fasd-linux
Make #691 work on Linux
2016-03-27 03:25:16 +02:00
Eduardo Bellido Bellido 183c514881 Make #691 work on Linux 2016-03-27 00:03:40 +01:00
Travis Swicegood 4cef46271d Add sample BASH_IT_REMOTE to bash_profile template 2016-03-25 18:06:03 -05:00
Travis Swicegood 1e826eefb4 Allow overriding name of remote 2016-03-25 18:03:41 -05:00
Travis Swicegood f3f4f0a8f9 Merge pull request #693 from tomashavlas/ssh-multihost
Added support for multiple aliases/hostnames in single line for ssh completion and plugin
2016-03-25 17:54:42 -05:00
Travis Swicegood 3eb35f6054 Fix issue with PATH causing test failures
I was seeing an issue where modifying PATH caused the Ruby plugin
tests to fail. I fixed that and while digging around fixed an issue
that would cause the tests to behave weirdly if run from any other
location.

This solves one of the issues noted in #687, but I haven't tried
running the new tests from that PR with these changes.
2016-03-25 17:46:46 -05:00
Tomáš Havlas b835b3d9ce Added support for multiple aliases/hosts in single line for ssh completion and plugin 2016-03-25 23:29:33 +01:00
Travis Swicegood ae179df0c2 Merge pull request #691 from tswicegood/upgrade-fasd
Update fasd to use installed version instead of embedded
2016-03-25 17:28:28 -05:00
Travis Swicegood 5b6b7392de Include a note in code about the upstream bugfix and remove trailing spaces 2016-03-25 17:18:14 -05:00