Nils Winkler
03b796ee60
Merge pull request #476 from mimoralea/mimoralea-pretty-cat-plugin
...
Replace cat with pigmentize to add syntax highlighting if possible defaulting back to cat
2015-06-10 07:28:41 +01:00
Eduardo Bellido Bellido
be25f925c7
Added completion to AWS plugin
2015-06-09 23:16:47 +02:00
Miguel Morales
e143d4f696
Allow for passing arguments to pygmentize
2015-06-09 07:46:32 -05:00
Ivan Povalyukhin
dabf0e8c42
[pathmunge] remove duplicate entry into PATH variable on reload command
2015-06-07 20:08:39 -07:00
Eddie Hurtig
7bbc077990
Check for PTY before attempting to use bind
...
After running a dist upgrade on one of my Ubuntu 14.04 test workstations I started receiving errors after a graphical login. This should also fix remote ssh login problems as seen in http://superuser.com/questions/892658/remote-ssh-commands-bash-bind-warning-line-editing-not-enabled
2015-06-05 17:56:05 -04:00
Antti Ahti
fcbe9aa751
Fix ips command for platforms without ifconfig
2015-06-05 15:40:58 +03:00
Eduardo Bellido Bellido
96c82fe460
Merge pull request #474 from edubxb/aws-plugin
...
Updated AWS plugin
2015-06-03 13:18:27 +02:00
Nils Winkler
603c71736e
Merge pull request #493 from ipoval/fix_duplicate_entries_in_path
...
Fix duplicate entries in path, closes #482 and closes #483
2015-05-31 15:41:04 +02:00
Miguel Morales
2ffed6f52a
Change alias to a more intuitive name
2015-05-30 14:17:11 -05:00
Ivan Povalyukhin
575551e42b
[pathmunge] fix duplicates in PATH variable for nginx and node plugins
2015-05-30 00:27:05 -07:00
Miguel Morales
567289185a
Alias collides with httpie binary
...
It would be nice to still have this alias but not colliding with the awesome httpie tool:
https://github.com/jakubroztocil/httpie
2015-05-24 18:11:14 -05:00
Miguel Morales
6821b6c0dc
Add less and remove hard exit
2015-05-24 18:04:42 -05:00
Eduardo Bellido Bellido
1172973d89
Fixed regex in __awskeys_list function
2015-05-20 20:49:36 +02:00
Eduardo Bellido Bellido
172c6a0aea
Renamed remove option to unset
2015-05-13 23:11:04 +02:00
Eduardo Bellido Bellido
98f5be98dc
Now, really fixed (and tested) the export option in Mac
2015-05-13 23:09:03 +02:00
Miguel Morales
6b1789e385
Add cat function documentation
2015-05-12 16:36:07 -05:00
Miguel Morales
3f98e953cd
Fix typo
2015-05-12 16:26:18 -05:00
Miguel Morales
af2f0304cb
Add proper exit code
2015-05-12 15:57:39 -05:00
Miguel Morales
0bdcf196aa
Add pretty cat plugin for cat with syntax highlighting
2015-05-12 11:30:49 -05:00
Eduardo Bellido Bellido
9d7aa3b882
Added remove option
2015-05-11 00:02:27 +02:00
Eduardo Bellido Bellido
ab08ca7d16
Minor changes and updated help messages
2015-05-11 00:02:07 +02:00
Eduardo Bellido Bellido
ca52f5ce2f
Fixed export option to work on Mac
2015-05-11 00:01:36 +02:00
James Ratcliffe
66fd6411a0
Fix for issue #108 that restores xterm plugin functionality on OS X.
2015-05-10 15:17:45 -04:00
Eduardo Bellido Bellido
767a7a63ca
Added AWS plugin
...
- awskeys, helper function for credentials profiles
2015-05-09 01:33:30 +02:00
Nils Winkler
2d13b3294a
Fixed conversion when the battery percentage is in the single digits.
...
The previous version was printing an error when the battery percentage
was in the single digits, e.g. "7.04%". The code cuts returns the first
two digits, which in the case of "7.04%" are "7.". Any code that tries
to use that, e.g. the powerline-multiline theme will fail with an error.
This change corrects that by zero padding single digits, i.e. "07.04%"
instead of "7.04%".
2015-05-05 11:30:25 +02:00
Ivan Povalyukhin
f1de827622
[tests] added test for base plugin mkcd(); make mkcd() safe for directory names starting with a dash
2015-05-03 18:11:18 -07:00
Benjamin Brombach
4510c9ee63
fixes #343 by surrounding $HOME (which can have spaces) with quotations marks
2015-04-29 14:56:46 +02:00
Ivan Povalyukhin
f420560986
make buf() to respect file attributes on file backup
2015-04-11 15:51:26 -07:00
Nils Winkler
492304dee5
Added proxy plugin.
2015-04-01 13:23:00 +02:00
Nils Winkler
25ec6ee6f3
Merge pull request #442 from ipoval/test_some_functions_in_base_plugin
...
start with tests for base.plugin.bash
2015-03-30 13:24:19 +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
Ivan Povalyukhin
10ea42dc75
whitespace fixes in base.plugin.bash
2015-03-29 14:02:31 -07:00
Ivan Povalyukhin
b584d4304d
[start with tests] minor space fix in the codebase
2015-03-28 18:54:37 -07: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
Nils Winkler
da07182910
Merge pull request #433 from ipoval/add_argument_presence_check_for_dirs_plugin_functions
...
add argument presence check for functions in dirs plugin to bad usage
2015-03-26 19:21:49 +01:00
Ivan Povalyukhin
0b300ccb86
add argument presence check for functions in dirs plugin to bad usage
2015-03-26 09:16:00 -07: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
Nils Winkler
fedb24e60b
Removed duplicate vagrant complation
...
The vagrant.plugin.bash file only defined a completion function, nothing
more. The vagrant.completion.bash file has a more recent completion
function for vagrant. We don't need both, and the completion in the
plugin file was in the wrong location in the first place.
2015-03-20 07:47:43 +01:00
Eduardo Bellido Bellido
42aa39b235
New funcion "ac_adapter_connected" in battery plugin
2015-02-04 23:05:03 +01:00
Kevin S. Clarke
ef0f7ebc42
Updated undescores to dashes and added new alias
2015-01-27 15:20:21 -05:00
Kevin S. Clarke
ed79936529
Added Docker aliases and functions
2015-01-22 10:23:00 -05:00
Sam Morrison
4ce1f6f771
rename local variable passgen back to pass
2015-01-20 18:46:44 +09:00
Sam Morrison
bfe25807a7
using bash-it boolean check convention
2015-01-19 13:05:46 +09:00
Sam Morrison
f1f250f7b8
corrected passgen example text and default
2015-01-19 12:28:35 +09:00
Sam Morrison
5963249c0a
Rename function pass to passgen. Define alias pass if pass command (password store) is not installed or BASH_IT_LEGACY_PASS is true.
2015-01-19 12:15:26 +09:00
Omer Katz
abb0167ffa
Revert "Added pyenv-virtualenv plugin"
2014-12-14 09:52:27 +02:00
Omer Katz
d736133f57
Merge pull request #341 from lucasnad27/master
...
Added pyenv-virtualenv plugin
2014-12-14 09:44:54 +02:00
oxnz
c3c40e506b
fix bugs caused by unquoted variable(s); remove unnecessary grep in ips func
2014-12-08 00:32:53 +08:00
Eddie A Tejeda
4899c54ba7
create postgres helper functions for bash_it
2014-11-24 00:56:03 -05:00
Peter Daly-Dickson
61e52883f7
Moved arrow-keys-search-history from lib to available plugins
2014-11-07 13:50:34 +00:00
Nils Winkler
44e1ae0002
Fixed script execution to always use the frontmost window, instead of window 1.
...
If you had multiple terminal windows open, there was a chance that the command was sent to another window (the one with index 1). Using index 0 will execute it in the currently visible window.
2014-11-05 08:18:58 +01:00
Nils Winkler
f6a3a7f873
Merge pull request #349 from nwinkler/gifify
...
Added the gifify function.
2014-10-30 14:18:42 +01:00
Omer Katz
b76eb1ea14
Merge pull request #346 from thedrow/feature/pipsi-plugin
...
Added the pipsi plugin
2014-10-28 11:49:44 +02:00
Omer Katz
92e6a22636
Merge pull request #347 from thedrow/feature/gh-plugin
...
Added the gh plugin
2014-10-28 11:49:34 +02:00
luke
3a943e5813
Skip workon if not in root directory
2014-10-27 10:31:19 -07:00
Omer Katz
cbd68dbf63
Added fzf plugin.
2014-10-27 17:39:29 +02:00
Nils Winkler
168a1fad68
Added the gifify function.
...
This allows to convert a .mov file into an animated GIF file. Based on
these resources:
* https://gist.github.com/SlexAxton/4989674
* https://gist.github.com/paulirish/b6cf161009af0708315c
2014-10-23 11:13:59 +02:00
Omer Katz
126e81a943
Added the gh plugin.
2014-10-17 17:18:19 +03:00
Omer Katz
27e2b6ffb7
Added the pipsi plugin.
2014-10-17 16:59:19 +03:00
Luke Culbertson
d42ac438b1
Added pyenv-init to allow pyenv virtualenvwrapper to init properly
2014-10-09 17:59:59 -07:00
Luke Culbertson
228ac4ceec
Run `pyenv virtualenvwrapper` and remove virtualenv-init cmd
2014-10-02 00:16:39 -07:00
Luke Culbertson
7240a65706
Changed pvenv functions to avoid name conflicts
2014-09-25 22:20:30 -07:00
Luke Culbertson
a0f89bc1f8
Added better support for pyenv, virtualenvwrapper, and autoenv
...
working in concert with one another.
Features added:
- Added a pyenv-virtualenv plugin which creates virtual environments
using the current pyenv python version
- `cd` into a directory that has a virtual environment already created
and autoenv will automatically activate that environment
- Current virtual environment is displayed in command prompt
2014-09-25 17:23:53 -07:00
Travis Swicegood
e43f516439
Add a few new docker aliases
2014-09-04 13:10:35 -07:00
Faro
1560d7b9bb
adding functions to rename os x terminal tab and window titles
2014-08-22 11:26:57 +02:00
Travis Swicegood
e0c48b1637
Merge pull request #315 from Jeraimee/master
...
Updating function declarations to avoid parse errors in some bash versions
2014-07-30 08:42:03 -05:00
Jeraimee Hughes
f82e66140d
Updating function declarations to avoid parse errors in some bash versions.
2014-07-29 08:52:23 -04:00
Travis Swicegood
6f79c9d760
Add docker-enter
2014-07-18 17:04:41 -05:00
Travis Swicegood
ccf79ffb4b
Add a Docker plugin
...
This just sets the `DOCKER_HOST` for OS X users so we don't have to keep
setting it all over the place.
2014-07-04 13:30:54 -05:00
Manoj
073d75532e
Add pyenv plugin
2014-06-15 03:17:50 +05:30
Travis Swicegood
ee793d4cce
Add a pyedit command thanks to @srossross
2014-03-26 10:03:50 -05:00
Travis Swicegood
3b6180a726
Merge pull request #254 from aramprice/master
...
Make chruby plugins conform to naming convention
2014-01-13 08:27:22 -08:00
Travis Swicegood
adfd72a3ad
Fix so this works with the all themes (oops)
2014-01-09 10:52:14 -06:00
aram price
5ef3f817fe
Make chruby plugins conform to naming convention
2014-01-02 11:27:14 -08:00
Travis Swicegood
aacc294a5e
Merge pull request #247 from jimmynotjim/make-iso
...
Added plugin to create iso from current dir
2013-12-20 12:31:26 -08:00
jimmynotjim
55a37ad4c9
Fixed example arguments and added param arguments
2013-12-19 10:21:55 -05:00
Nils Winkler
964850d6da
Subtle change: Added a space in front of the command that's run in the
...
new tab. If you use `export HISTIGNORE=' *'` in your shell, this will
ensure that commands starting with a space will not be included in the
history. Since the command sent to the new tab by the `tab` command
probably shouldn't show up in the history, I added a leading space
character.
2013-12-10 17:05:28 +01:00
jimmynotjim
d5bfb7fcb4
Added plugin to create iso from current dir
...
Includes options for custom name, dest dir and source dir
2013-11-29 14:25:47 -05:00
jimmynotjim
3aa33ea18a
Removed due to Git handling this automatically
...
See this discussion https://github.com/revans/bash-it/pull/242/files#r7964126
2013-11-27 13:07:47 -05:00
jimmynotjim
5d22da957b
Added new aliases and plugins for git
2013-11-27 11:26:50 -05:00
aram price
b48a0f2f65
Add chruby and chruby-auto plugins
...
* chruby.bash loads chruby
* chruby-auto.bash loads chruby and enables auto-switching
* add chruby_version_prompt() function for displaying ruby version
* inspired by https://gist.github.com/rssvihla/6153455
2013-11-03 18:08:03 -08:00
Travis Swicegood
2813930e04
Add a wovenv to match mkvenv
2012-11-16 11:00:46 -06:00
Travis Swicegood
afe700fc0c
Remove --no-site-packages as that is now the default behavior
2012-11-16 11:00:30 -06:00
Travis Swicegood
5c0e1437d4
Make sure that the npm prefix is in PATH
2012-09-20 15:36:54 -05:00
Travis Swicegood
e9f00c9af9
Add code to handle node_modules path
2012-09-19 21:53:27 -05:00
Erich Smith
e1da40a475
Merge pull request #129 from erichs/todo.sh
...
add todo.txt-cli as a plugin
2012-07-10 10:15:31 -07:00
Nils Winkler
998c09745a
Added Java plugin.
2012-05-21 11:50:01 +02:00
Erich Smith
339cfe9733
conditionally define t()
...
if user has enabled the todo plugin, skip defining the 'one thing'
todo function t().
2012-05-17 21:43:57 -04:00
Erich Smith
dd9fb1009b
conditionally define t()
...
if user has installed the todo plugin, forego defining the 'one thing'
todo function t().
2012-05-17 21:40:08 -04:00
Erich Smith
758c4f3328
test existence, not symlink
...
it isn't safe to assume that symlinks created in the enabled/* dirs will
be symlinks later...
some users use tools like Dropbox to sync their files across systems,
and these may transform symlinks into regular files. explicitly
checking for symlinks with tests like [ -h $file ] will break on these
systems. these tests have been replaced with [ -e $file ] instead.
2012-05-16 13:00:22 -04:00
Erich Smith
a825c5f16f
plugins-help is much faster
...
this replaces the naive implementation that called glossary() on each
group, and is an order of magnitude faster.
fix grouping in javascript.plugin.bash
2012-05-15 14:29:06 -04:00
Erich Smith
08e439c4f0
update plugin management
2012-05-13 22:13:54 -04:00
Erich Smith
8051a8520e
disable z() if fasd is enabled
...
loading fasd clobbers z(), and results in a cryptic syntax error
message, since 'z' is already an alias when z.plugin.bash is being
sourced.
this conditional detects this situation and returns early.
2012-05-13 22:13:54 -04:00
Erich Smith
55e77deac1
standardize plugins, update metadata
...
add about-plugin metadata
chmod -x plugins
cleanup filenames to standardize on x.plugin.bash format
only plugin files intended to be executable from the command line should
contain a shebang line, and should be a+x.
2012-05-13 22:13:54 -04:00
Erich Smith
254d4459e2
basic plugin management
...
move plugin management functions into 'lib' group in helpers.bash
2012-05-13 22:13:54 -04:00
Erich Smith
205027491a
Merge branch 'master' into plugin_metadata
2012-05-11 14:08:33 -04:00
Erich Smith
57283d72de
respect profile overrides
...
overrides may now be specified for any of these defaults:
TODO_DIR=$BASH_IT/custom # change if you want todo.txt and friends
# to live somewhere else
TODOTXT_DEFAULT_ACTION=ls # change if you want a different action,
# like 'lsp' or 'lsprj'
TODO_SRC_DIR=
$BASH_IT/plugins/available/todo # for custom installs with plugins
2012-05-10 20:39:18 -04:00
Erich Smith
00cab2fd6a
Merge branch 'master' into todo.sh
2012-05-10 20:33:17 -04:00
Nils Winkler
f3d4469568
Fixed reload by expanding environment variable before defining the alias.
2012-05-10 16:24:18 +02:00