Nathan Broadbent
6d4d9bde73
Force color for ls -l on OS X
2012-10-16 22:30:41 +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
1d3651904b
Only replace username when preceded by a space
2012-10-15 21:57:24 +13:00
Nathan Broadbent
8a330465b4
Reorganized code, added la alias to show all files
2012-10-14 13:43:22 +13:00
Nathan Broadbent
b7b3272270
Rejustify columns after replacing with user sym with a little ruby golf
2012-10-14 13:37:03 +13:00
Nathan Broadbent
e6ad742cc7
Fallback to default ll if too many files
2012-10-14 13:34:56 +13:00
Nathan Broadbent
9d275560c8
Replace user/group in ll with user symbol, if defined at ~/.user_sym
2012-10-14 10:58:50 +13:00
Nathan Broadbent
fd8369674f
ls -l => ls -lhv
2012-10-14 10:46:06 +13:00
Nathan Broadbent
a040f1525b
Expand args for git_ignore, git_exclude, git_exclude_basename
2012-10-12 20:38:21 +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
2b2f8a7c82
Fixed ll
2012-09-30 09:36:38 +13:00
Nathan Broadbent
b9903488c9
Pass args to ll
2012-09-30 01:11:17 +12:00
Nathan Broadbent
384f2a0668
Created fail_if_not_git_repo function and prepended it to all git functions
2012-09-19 21:34:03 +12:00
Nathan Broadbent
197dcfc74f
Fail git status if .git not in cwd or parent directory
2012-09-19 21:30:07 +12:00
anonfunc
e6f4cd8694
Use vared in zsh instead of read.
...
This change seems to do what you want. It passes ! and \ untouched, it gets history from the shell and it uses the zsh line editor for arrow keys and home/end.
2012-08-27 16:49:39 -07:00
Nathan Broadbent
f5d7d68291
Fix to preload Arch bash completion for git
2012-08-23 12:47:27 +12:00
Nathan Broadbent
3c63cffc45
Fix paths with spaces for 'll' function
2012-08-23 12:23:52 +12:00
Nathan Broadbent
a17d3e2439
Define completions for git branch shortcuts
2012-08-23 11:26:35 +12:00
Nathan Broadbent
e75041262e
Fixed shell command wrapping to always use the builtin or full path when wrapping an alias
2012-08-23 10:00:13 +12:00
Nathan Broadbent
760ca4eab7
Added gsm alias for git show --summary - handy to view the last commit SHA and message, without the changes
2012-08-22 20:48:36 +12:00
Nathan Broadbent
8aa79a0b78
Fixed git add keybinding for zsh
2012-08-22 19:48:44 +12:00
Nathan Broadbent
ae6bb783e9
Fixed 'll' for zsh
2012-08-22 19:46:15 +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
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