Aljaž "g5pw" Srebrnič
025351c486
Change completion title
...
It makes more sense to name the category 'Git projects' instead of 'Project
name'.
2013-08-20 22:30:16 +02:00
Aljaž "g5pw" Srebrnič
7194283dfa
Declare local variables
...
Since we are using the _arguments helper, we need to define some local
variables in order to avoid altering the global environment.
2013-08-20 22:28:22 +02:00
Aljaž "g5pw" Srebrnič
f81c243701
Merge branch 'master' of git://github.com/ndbroadbent/scm_breeze
2013-08-20 21:54:04 +02:00
Nathan Broadbent
c575f171c2
Fixed case-insensitive matching... my last commit was pretty dumb
2013-07-09 20:10:57 +12:00
Nathan Broadbent
697a636e10
repo_index should be case insensitive
2013-07-09 19:49:35 +12:00
Aljaž "g5pw" Srebrnič
7381978fe0
Merge branch 'master' of git://github.com/ndbroadbent/scm_breeze
2013-04-15 17:58:47 +02:00
Nathan Broadbent
18e94797e9
Try removing quotes for array concatenation
2013-01-12 12:16:55 +13:00
Aljaž "g5pw" Srebrnič
4dec6b288f
Eliminated zsh references in completion
...
Since there is another, totally different completion function, this patch eliminates
all references to zsh in _git_index_tab_completion.
2012-10-30 11:19:24 +01:00
Aljaž "g5pw" Srebrnič
a9aa363fdb
Added initial zsh completion support to git_index
...
zsh now completes all arguments and all directories inside $GIT_REPO_DIR. This is till buggy because not all directories in $GIT_REPO_DIR are actual git projects. Next update will include completing the list in the .git_index file.
2012-10-23 09:13:20 +02:00
Nathan Broadbent
c20b91442a
Use $GIT_BINARY when original git binary is needed
2012-10-23 13:52:04 +13:00
Nathan Broadbent
58db58efd3
Use redefined cd when switching between projects, to run rbenv, rvmrc, etc.
2012-10-21 11:29:50 +13:00
Nathan Broadbent
0dd8a05d15
Revert "Video cheat"
...
This reverts commit f7f1a3dcfb .
2012-10-17 07:44:14 +13:00
Nathan Broadbent
f7f1a3dcfb
Cheat for the video :P
2012-10-16 10:58:29 +13:00
Nathan Broadbent
8f19f35b06
Fixed completion appending '//' when in a project's directory
2012-10-16 10:58:29 +13:00
Nathan Broadbent
b92c2da2fc
Added --update-all-with-notifications command for easier cron invocation
2012-10-11 23:51:37 +13:00
Nathan Broadbent
d3c3640565
Whoops, double sed'd
2012-10-10 13:47:38 +13:00
Nathan Broadbent
4091e701c4
Use git binary for commands
2012-10-10 12:39:28 +13:00
Nathan Broadbent
c4f49c96d7
Use escaped git function, so it doesn't go through any aliases like hub
2012-08-12 21:32:05 +12:00
Nukul Bhasin
240399bd92
work around for ndbroadbent/scm_breeze#27
2012-08-12 21:19:49 +12:00
coodix
97721437c9
Change _find_git_repos function fixing situation when no one repo was found by "c --rebuild" when $GIT_REPO_DIR is symbolic link
2012-05-20 22:41:08 +04:00
Nathan Broadbent
b1aba1480b
Replace 'command grep' with '\grep' to break out of aliases
2012-05-08 16:02:20 +12:00
Giuseppe Rota
ff1a59ddb7
forgot another one command grep
2012-05-02 21:45:03 +02:00
Giuseppe Rota
cc48bcb82f
Substitute all grep instances with command grep
2012-04-26 17:27:50 +02:00
Nathan Broadbent
fa9a255ac4
Fixed branch iteration for array in _git_index_update_all_branches function
2012-03-20 14:53:29 +08:00
Nathan Broadbent
323405477a
If $NOTIFY is set, use notify-send to send git repo update notifications
2012-03-18 23:52:07 +08:00
Nathan Broadbent
aca96a5e8c
Fix defaut IFS for Ubuntu 11.x
2012-03-08 17:35:03 +08:00
Nathan Broadbent
f71372a8e9
Expanded travis ci build status update, so that it can perform frequent updates for the current branch, and periodic updates for all branches. Updating all branches was taking over 20 minutes.
2012-02-03 11:35:08 +08:00
Nathan Broadbent
78cc2d46ea
Make sure bin/git is used to parse branch (turn off hub wrapper if present)
2012-02-01 12:12:10 +08:00
Nathan Broadbent
ada316bd5b
Use builtin cd for batch commands
2012-01-31 00:11:10 +08:00
Nathan Broadbent
80d1bf9208
Fixed issue with aliased 'cd' command
2012-01-27 16:04:25 +08:00
Nathan Broadbent
22086627d0
For git batch commands, make $base_path variable local so that it doesn't persist
2012-01-26 13:38:06 +08:00
Nathan Broadbent
04ee82b0c8
Added Travis CI status caching task, for status in shell prompts
2012-01-13 12:07:07 +08:00
Nathan Broadbent
9e701a18e5
Fixed case where more than one project matched the completed word
2011-12-20 11:29:44 +08:00
Nathan Broadbent
80bd4decac
Updated example cron to refresh repos every 10 min [ci skip]
2011-12-20 11:15:37 +08:00
Nathan Broadbent
9715265c79
Added index --rebuild task before --update-all in example cron script [ci skip]
2011-12-20 11:13:22 +08:00
Nathan Broadbent
ebb646b233
Fixed example cron script to use /bin/bash [ci skip]
2011-12-19 10:32:16 +08:00
Nathan Broadbent
c21039646c
Added example cron config to keep all local repos up-to-date automatically [ci skip]
2011-12-18 02:03:13 +08:00
Nathan Broadbent
710fb7181e
Implemented a robust git_index_update_all_branches function, to automatically perform a safe fast-forward of all local branches, if their remtoes and merge refs are configured. Can be run from a cron script to keep all repos up to date
2011-12-18 00:22:01 +08:00
Nathan Broadbent
1ad7408d05
Took some inspiration from git tab completion, and separated the completion of '--' commands from project directories
2011-12-17 10:53:58 +08:00
Nathan Broadbent
993c9ee9fc
Replaced all occurences of 'local IFS=' with 'IFS= ... unset IFS'. Fixes #12
2011-12-14 13:27:39 +08:00
Nathan Broadbent
46637dc15c
Allow change to a top-level directory within $GIT_REPO_DIR by prefixing the arg with '/'. Comes with tab completion. For example, if you have a directory ~/src/rails, you can move here by typing 's /ra[TAB]'
2011-12-09 22:59:32 +08:00
Jacob Lukas
5e507af747
Fix add/remove with spaces/special characters
2011-11-09 20:02:29 -08:00
Jacob Lukas
a1a7e3066e
Fix switching to repositories with spaces or other special characters in their path
2011-11-09 11:37:06 -08:00
Nathan Broadbent
dd1549e0ec
Refactored code so that git_update function is reusable
2011-10-25 12:03:38 +08:00
Nathan Broadbent
7e84fc7a56
fixed update_all command
2011-10-25 10:39:38 +08:00
Nathan Broadbent
e5eeb36861
Fixed git batch commands
2011-10-22 12:45:26 +08:00
Nathan Broadbent
a82434c9e6
Fixed commands for git_index
2011-10-21 17:43:20 +08:00
Nathan Broadbent
4d5126731a
Added missing parse_git_branch function
2011-10-20 19:30:55 +08:00
Nathan Broadbent
5e8dd2a93a
Fixed message
2011-10-19 20:11:48 +08:00
Nathan Broadbent
4c93fbdaf8
Updated commands and more labels
2011-10-18 01:41:32 +08:00