Commit Graph

699 Commits

Author SHA1 Message Date
Nathan Broadbent
60da1bad93 meh.. 2012-08-22 02:48:58 +12:00
Nathan Broadbent
861ad3000a Added 'ls' demo to README 2012-08-22 02:46:30 +12:00
Nathan Broadbent
8c868c8583 readlink -f is a lot faster on Linux 2012-08-21 15:01:17 +12:00
Nathan Broadbent
750d28341a don't need uname here 2012-08-21 14:35:04 +12:00
Nathan Broadbent
3cebcb3876 Fix zsh variable expansion issue 2012-08-21 14:30:14 +12:00
Nathan Broadbent
25e8759211 git branch --color=always works fine - no need for script 2012-08-21 14:26:14 +12:00
Nathan Broadbent
fb68e6e470 Added debugging statements to _git_wrap_commands 2012-08-21 14:14:32 +12:00
Nathan Broadbent
75e9a909a5 Revert "Changed _alias to alias_no_errors"
This reverts commit dba367d7f1.
2012-08-21 14:02:00 +12:00
Nathan Broadbent
584b211a4a Fixed git branch command for OS X 2012-08-21 14:01:33 +12:00
Nathan Broadbent
552e9fbcb8 Fixed ll for Linux 2012-08-21 13:43:55 +12:00
Nathan Broadbent
d801167ddd Use perl abs_path instead of readlink -f, since it should work on both OS X and Linux 2012-08-21 13:35:38 +12:00
Nathan Broadbent
4ac4cba757 Support both BSD and GNU ls commands (for OS X and Linux, respectively) 2012-08-21 13:22:03 +12:00
Nathan Broadbent
dba367d7f1 Changed _alias to alias_no_errors 2012-08-21 12:28:15 +12:00
Nathan Broadbent
97b71f47e3 Fixed git tools to use $_git_cmd, instead of git function wrapper 2012-08-17 02:12:01 +12:00
Nathan Broadbent
5e8d512c97 Comment 2012-08-16 03:41:51 +12:00
Nathan Broadbent
f4f3337054 Make $scmb_wrapped_shell_commands configurable 2012-08-16 03:39:03 +12:00
Nathan Broadbent
792b117f7d Added git branch -D alias 2012-08-16 02:58:09 +12:00
Nathan Broadbent
c08afca63f Support 'git branch' 2012-08-16 02:58:01 +12:00
Nathan Broadbent
b978b1bd43 Fall back to normal git branch, if any unknown args given. Also add aliases for git branch -a and -m 2012-08-16 02:53:52 +12:00
Nathan Broadbent
ef91007da9 Use $_git_cmd internally 2012-08-16 02:39:58 +12:00
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
44b1adfd28 Improved readme 2012-08-13 04:22:58 +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
6b74a58627 Wording 2 2012-08-13 03:16:49 +12:00
Nathan Broadbent
349495bd1e wording 2012-08-13 03:15:15 +12:00
Nathan Broadbent
0cd7a56c9c Updated README with alias wrapping feature 2012-08-13 03:14:21 +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
9410387485 Added test for new fallback explanation message 2012-08-13 01:23:27 +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