Commit Graph

166 Commits

Author SHA1 Message Date
Nathan Broadbent
af84c992b7 Re-organized files. Added shortcuts for git branches, under gb function 2012-08-16 02:32:53 +12:00
Nathan Broadbent
81f9d9260c Handle wrapper for shell builtins 2012-08-16 01:42:56 +12:00
Nathan Broadbent
8bef4be5b3 Fixed color issue with files in ls output 2012-08-16 01:39:28 +12:00
Nathan Broadbent
9ef8a39409 Use shell_command_wrapping_enabled, since the work was done for Zsh compatibility 2012-08-16 00:36:22 +12:00
Nathan Broadbent
8fcf8e8411 Also unset any ll function, just in case 2012-08-16 00:24:42 +12:00
Nathan Broadbent
6ebb47eb14 Added function for ll, that adds numbered shortcuts to output of ls -l 2012-08-16 00:04:22 +12:00
Nathan Broadbent
accbcc5957 git_expand_args => scmb_expand_args 2012-08-15 21:10:46 +12:00
Nathan Broadbent
b0d6b0e8b2 Added emacs and gedit to wrapped commands 2012-08-15 21:08:36 +12:00
Nathan Broadbent
49c613ceaa Fixed SCM Breeze command wrapping for %w(vim cat rm cp mv ln ls) 2012-08-15 21:07:35 +12:00
Nathan Broadbent
eab3957a11 Escape \which just in case someone else overrides it with an alias :) 2012-08-13 18:51:42 +12:00
Nathan Broadbent
b8c0ba69de Try removing any git functions as well, before setting git path via which git 2012-08-13 18:07:49 +12:00
Nathan Broadbent
aa3ca39d50 whitespace 2012-08-13 16:11:39 +12:00
Nathan Broadbent
802ac0c509 Use the full path to git to avoid infinite loop with git function 2012-08-13 16:09:19 +12:00
Nathan Broadbent
17823102f4 Remove any 'git' alias before creating the git function 2012-08-13 11:31:55 +12:00
Nathan Broadbent
d092c51aa6 Only expand args for a subset of git commands 2012-08-13 11:24:40 +12:00
Nathan Broadbent
5e7f49ec7d Wrap everything in a git function so that zsh can expand any aliases for tab completion 2012-08-13 04:11:09 +12:00
Nathan Broadbent
30ebeb281e Moved git index tab completion into bash conditional 2012-08-13 03:40:21 +12:00
Nathan Broadbent
b4655662cd Disabling buggy Zsh tab completion for now. Will try to revisit this later on, but no completion is better than broken completion. 2012-08-13 03:27:53 +12:00
Nathan Broadbent
bcce949f3c Added git_augment_current_aliases option if you just want to wrap your
current git aliases, instead of overriding them all with new ones.
2012-08-13 02:53:06 +12:00
Nathan Broadbent
e7d7b8b2c1 Added even more escaped characters for command line evaluation 2012-08-13 02:52:18 +12:00
Nathan Broadbent
cf37be73d4 add => Added 2012-08-13 01:58:44 +12:00
Nathan Broadbent
79a1132730 Merge pull request #43 from ghthor/master
Simplified git add -p alias
2012-08-12 06:34:45 -07:00
Nathan Broadbent
98dc23a529 Explanation for ahead code 2012-08-13 01:33:37 +12:00
Nathan Broadbent
4543884aa6 If no changes, just display green no changes message and exit. This is
mainly to prevent shell script from detecting no output and assuming
that max changes limit was reached
2012-08-13 01:32:30 +12:00
Nathan Broadbent
3a507fbd5a #34 - Increased max changes before falling back to standard git status, from 99 to 150. Also added a explanation message that is shown after the regular git status. 2012-08-13 01:21:23 +12:00
Will Walthall
850be06559 Convert git_add_patch into a simple command 2012-08-12 09:18:02 -04:00
Nathan Broadbent
989b2233b7 _git_expand_args_escaped not needed 2012-08-13 01:00:18 +12:00
Nathan Broadbent
d128fb58d7 Fixed merge conflict resolution functions to handle multiple expanded arguments 2012-08-13 00:58:51 +12:00
Nathan Broadbent
aaf4f5fac5 Use tabs as delimiter so that files with spaces are properly handled. Escape spaces only in exec_git_expand_args, use tabs to split everything else. 2012-08-13 00:22:16 +12: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
Nathan Broadbent
9930ba5331 Added switch for zsh / bash 2012-08-12 21:16:05 +12:00
Nathan Broadbent
55950ad896 Merge pull request #40 from flipkick/master
bugfix for #33. don't add a trailing space when creating aliases
2012-08-12 02:00:49 -07:00
Nathan Broadbent
0ccb241833 removed tabs 2012-07-14 10:47:45 +12:00
Nathan Broadbent
6d6e1455be Reindented new lines 2012-07-14 10:47:07 +12:00
Alhad Purnapatre
5071256716 Avoid infinite loop in __gs_relative_path when $(PWD) contains a symlink. 2012-07-13 14:24:35 -07:00
flipkick
d9734ef039 fixes #33, don't define the aliases with a trailing space when there is no following argument 2012-06-22 22:42:30 +02:00
Nathan Broadbent
4531d9566a Made the default 'git log' command nicer (thanks to http://coderwall.com/p/euwpig?i=3&p=1&t=git :) 2012-06-20 15:50:59 +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
Minsu Choi
a8319e187d avoid "bash:unbound" error when "nounset" option enabled (set -o nounset) 2012-05-09 09:15:01 +09:00
Nathan Broadbent
b50639f55c Fixed list_aliases() function for Zsh. (Use alias instead of alias -p, and tweaked sed to support both output formats.) 2012-05-08 16:35:56 +12:00
Nathan Broadbent
5e14302f56 Use 'autoload -Uz bashcompinit', as recommended in #21 2012-05-08 16:25:00 +12:00
Nathan Broadbent
4fb9123f19 Merge pull request #24 from tylerholien/master
Changed usage text to reflect '-' ranges instead of '..' ranges
2012-05-07 21:06:10 -07:00
Nathan Broadbent
b1aba1480b Replace 'command grep' with '\grep' to break out of aliases 2012-05-08 16:02:20 +12:00
Giuseppe
f9f6da479e Forgot other command grep 2012-05-02 23:03:26 +02: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
Giuseppe Rota
843a662149 avoid possible aliasing of grep 2012-04-26 00:11:42 +03:00
Tyler Holien
596b370b78 Changed usage text to reflect '-' ranges instead of '..' ranges 2012-04-25 15:01:52 -05:00
Nathan Broadbent
fa9a255ac4 Fixed branch iteration for array in _git_index_update_all_branches function 2012-03-20 14:53:29 +08:00