Commit Graph

1204 Commits (1dcfecbc17b96c8747fcf18adabf4d41492e5fa6)

Author SHA1 Message Date
Lyle Franklin d751b3da67 Rename docker-machine file to include 'plugin'
- We have some automation around enabling plugins which expects the word 'plugin'
2015-09-08 18:03:10 -07:00
Nils Winkler 728672498b Merge pull request #568 from nwinkler/alias-completion-fix
Fixed reference and typo in alias-completion plugin
2015-09-07 12:47:28 +02:00
Nils Winkler 546f90e368 Fixed reference and typo 2015-09-07 12:46:34 +02:00
Nils Winkler f8cf0a5694 Merge pull request #567 from nwinkler/alias-completion-install
Added alias completion to the default install options
2015-09-07 09:56:57 +02:00
Nils Winkler 7384b284ec Added alias completion to the default install options 2015-09-07 09:56:16 +02:00
Nils Winkler 8d1e5ab237 Merge pull request #566 from nwinkler/readme-update
Fixed a couple of repo references
2015-09-07 09:49:48 +02:00
Nils Winkler 994c235b3f Fixed a couple of repo references 2015-09-07 09:48:47 +02:00
Nils Winkler 63380eff53 Merge pull request #565 from mibanez/master
Update simple theme
2015-09-07 08:27:49 +02:00
Matias Ibañez 1449036285 Update simple theme
PS1 definition via PROMPT variable produces an invalid prompt
2015-09-07 01:43:40 -03:00
Eduardo Bellido Bellido c4cc192d1d Merge pull request #564 from edubxb/master
Minor corrections in README.md
2015-09-06 22:34:02 +02:00
Eduardo Bellido Bellido 3c97ee84da Minor corrections in README.md 2015-09-06 22:29:06 +02:00
Eduardo Bellido Bellido 39a2c37524 Fix wrong flag description 2015-09-06 22:17:11 +02:00
Eduardo Bellido Bellido 3ddb14bab3 Merge pull request #563 from edubxb/ignore-untracked
Ignore untracked files
2015-09-06 21:50:26 +02:00
Eduardo Bellido Bellido f48731fb11 Update README.md 2015-09-06 21:47:07 +02:00
Eduardo Bellido Bellido d0565e8954 Add a flag (SCM_GIT_IGNORE_UNTRACKED) to ignore untracked files in git prompt 2015-09-06 20:02:20 +02:00
Eduardo Bellido Bellido e257ca3768 Merge pull request #562 from edubxb/hub-support
Hub support
2015-09-06 19:20:25 +02:00
Eduardo Bellido Bellido 6799b151d4 Add hub plugin and completion 2015-09-06 19:18:14 +02:00
Eduardo Bellido Bellido 9006e7a59b Mark gh plugin as deprecated, hub is suggested as replacement 2015-09-06 19:17:20 +02:00
Eduardo Bellido Bellido 8d113eee42 Merge pull request #560 from binaryanomaly/master
New binaryanomaly theme
2015-09-06 13:52:27 +02:00
Reto Haeberli 858b6e9589 Apt and dpkg aliases for Ubuntu and Debian distros. 2015-09-06 13:49:50 +02:00
Reto Haeberli ff87ad7482 New binaryanomaly theme 2015-09-06 12:22:48 +02:00
Eduardo Bellido Bellido c3572e21fe Merge pull request #559 from edubxb/git-remote-info
Improvements in git prompt
2015-09-06 01:50:27 +02:00
Eduardo Bellido Bellido f823f89220 Update README.md 2015-09-06 01:44:28 +02:00
Eduardo Bellido Bellido 0943aec34b Improvements in git prompt
- Git prompt now indicates when remote tracked branch is "gone"
- New env var (SCM_GIT_DETACHED) that indicates when HEAD is detached
- New env vars available for themes (SCM_THEME_BRANCH_TRACK_PREFIX,
  SCM_THEME_BRANCH_GONE_PREFIX, SCM_GIT_DETACHED_CHAR)
- Refactor of git_prompt_vars function from base theme
2015-09-06 00:59:27 +02:00
Eduardo Bellido Bellido 78cb41a1cf Add the option to show git branch remote tracking info in git prompt 2015-09-05 15:04:25 +02:00
Eduardo Bellido Bellido 86fd5cd5c4 Improve ref detection in git prompt 2015-09-05 02:12:38 +02:00
Nils Winkler 670e7b1dcc Merge pull request #558 from nwinkler/alias-completion
Added alias-completion plugin
2015-09-04 14:43:42 +02:00
Nils Winkler 53906f1fb6 Added alias-completion plugin
This plugin adds completion to aliases, just as with their regular
commands. Example:

* Completion works for `git checkout <TAB>`, which shows available
branches.
* You have an alias like `alias gco="git checkout"`
* The plugin adds support for `gco <TAB>`, which will also show the
available branches.

Reference: http://superuser.com/a/437508/119764
2015-09-04 14:38:49 +02:00
Travis Swicegood 1bbf8204b6 Add bundler completion from @mernen 2015-09-01 10:47:16 -05:00
Nils Winkler ad1b059d0d Merge pull request #557 from bezhermoso/vim-indicator
Indicator if running bash in vim
2015-09-01 08:48:07 +02:00
Bez Hermoso 77a891d8c6 Check VIMRUNTIME instead 2015-08-31 16:36:07 -07:00
Bez Hermoso 29861812dd Vim indicator for powerline-multiline theme 2015-08-31 12:07:39 -07:00
Bez Hermoso e6dc31b35d Indicator if running bash in vim 2015-08-31 10:22:28 -07:00
Nils Winkler 306168b605 Merge pull request #556 from nwinkler/base-osx
Moved some functions
2015-08-31 08:54:42 +02:00
Nils Winkler 74a9f5c411 Moved some functions
Some functions were specific to OS X, but were defined in the `base` plugin. I have moved them to the `osx` plugin:

* pman
* pcurl
* pri

As for `pcurl`, the `osx` plugin already had an existing `prevcurl` function, which was doing the same thing. I've aliased `pcurl` to simply call `prevcurl` to avoid breaking existing installations.

As far as I know the `open -fa $PREVIEW` thing only works on OS X, which means that these functions have only worked on OS X anyway.
2015-08-31 08:52:57 +02:00
Miguel Morales 8c05350c8b Add comments and explanations 2015-08-29 18:47:45 -05:00
Miguel Morales a887290539 Tidy up blank line 2015-08-29 18:44:08 -05:00
Miguel Morales 2bb8e900ea Add plugin mv into tmp trash folder that gets clear on reboot (as tmp does) 2015-08-29 18:42:17 -05:00
Miguel Morales 79727c84f4 Add mkdir and cd into directory function 2015-08-29 18:41:18 -05:00
Nils Winkler 2cac4380b9 Merge pull request #545 from goromlagche/add-time-to-bobby
adding datetime and battery percentage to theme 'bobby'
2015-08-27 15:56:14 +02:00
goromlagche f7877a1ef8 prefixing THEME to BATTERY_CHECK and CLOCK_CHECK 2015-08-27 19:00:18 +05:30
Nils Winkler 33307c7360 Merge pull request #550 from simonfiddaman/master
Skip ssh hashed hosts
2015-08-27 08:54:53 +02:00
Nils Winkler 18e0b16b05 Merge pull request #551 from songxinqiang/master
a new theme:axin,based on 'sexy'
2015-08-27 08:14:19 +02:00
Nils Winkler 2b483010d2 Merge pull request #415 from websi/capistrano_v3
Add the compatibility for capistrano gem version 3
2015-08-27 08:13:40 +02:00
宋信强 93a53676e8 Merge branch 'master' of github.com:Bash-it/bash-it 2015-08-26 09:36:15 +08:00
Nils Winkler cd3bab0071 Merge pull request #553 from nwinkler/plugin-osx-timemachine
Added plugin for OS X Time Machine
2015-08-25 10:07:20 +02:00
Nils Winkler 03e311028c Added plugin for OS X Time Machine
A set of functions to simplify listing OS X Time Machine backups, and
deleting old ones. Pulled from various script solutions found on Stack
Overflow, adapted to the Bash-it framework.

The functions allow to show which backups can be found on the connected
Time Machine volume. The 'delete' function allows to safely remove all
backups except for the latest one - this can be used to free up space on
the Time Machine volume. The 'delete' function uses functionality of the
OS to safely remove the old backups, no information is lost.

The 'delete' function will only ask for the password once, then keep the credentials.
Source: http://stackoverflow.com/a/30547074/1228454
2015-08-25 10:00:41 +02:00
宋信强 5d6a68b201 Delete the execss function, modify the note and the shown style 2015-08-24 09:10:09 +08:00
宋信强 bdf1ede7ef a new theme:axin,based on 'sexy' 2015-08-21 17:23:12 +08:00
Simon Fiddaman 6c82269121 Skip ssh hashed hosts 2015-08-20 17:37:46 +02:00