Commit Graph

560 Commits

Author SHA1 Message Date
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
Nathan Broadbent
436b0da138 Further ll fixes for escaped spaces and quotes! 2012-10-23 23:34:17 +13: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
d6730b40c9 Use \033 instead of \e for color codes, which seems to be more widely supported. 2012-10-23 13:44:02 +13:00
Nathan Broadbent
4d62b25ed6 Made tests a bit neater with indentation 2012-10-23 12:39:30 +13:00
Nathan Broadbent
06c2e26804 Added test for ls with subdirectory 2012-10-23 12:30:25 +13:00
Nathan Broadbent
5836617dbf Fully fixed up ll escaping, added lots of tests 2012-10-23 12:25:28 +13:00
Nathan Broadbent
7c7aedce03 Fixed ruby script to use STDIN, and pipe ll output to script 2012-10-23 10:35:16 +13:00
Nathan Broadbent
647e18e3ef Merge branch 'master' of git://github.com/g5pw/scm_breeze into g5pw-master
Conflicts:
	lib/git/shell_shortcuts.sh
2012-10-23 10:22:49 +13:00
Aljaž "g5pw" Srebrnič
905bd3d094 Fix small bug
$_ll_command is no longer defined, so the test evaluates to false, failing to include the ls_with_file_shortcuts function.
2012-10-22 19:40:58 +02:00
Aljaž "g5pw" Srebrnič
2bd5d3ea2f ZSH compatibility fix
This fixes ZSH compatibility by ensuring sh_word_split is on.
2012-10-22 19:39:20 +02:00
Aljaž "g5pw" Srebrnič
7e3d7825d2 Test for command type, not architecture
This patch modifies the way available commands are tested; If a Mac user installs and uses GNU ls it is correctly detected and used.
the ls_with_file_shortcuts now works on ZSH. It was failing with "command not found" due to parameters passed in $_ll_command which were interpreted as a command name.
2012-10-22 19:37:55 +02:00
Aljaž "g5pw" Srebrnič
bf08619f70 Get rid of escaped quotes 2012-10-22 19:31:13 +02:00
Nathan Broadbent
0f36491613 Fix ll compatibility for zsh & OSX 2012-10-21 12:37:47 +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
adef82a838 export/unset CLICOLOR_FORCE=1 var for ll command 2012-10-21 11:20:59 +13:00
Nathan Broadbent
281131ef27 Added alias for git rebase -i 2012-10-20 17:31:23 +13:00
Nathan Broadbent
179d78f4ee Expand args for ls_with_file_shortcuts - crazy useful! Lets you easily jump into child directories 2012-10-20 09:30:30 +13:00
Nathan Broadbent
6607aec257 Fetch rel_path from ll args and prepend to files before setting env variable shortcuts 2012-10-20 09:26:14 +13:00
Nathan Broadbent
976c1ea704 Add 'll' support for paths with spaces 2012-10-20 08:56:38 +13:00
Nathan Broadbent
9c85aa4114 Run install script with bash, not sh 2012-10-17 10:24:03 +13:00
Nathan Broadbent
0dd8a05d15 Revert "Video cheat"
This reverts commit f7f1a3dcfb.
2012-10-17 07:44:14 +13:00
Nathan Broadbent
6d4d9bde73 Force color for ls -l on OS X 2012-10-16 22:30:41 +13:00
Nathan Broadbent
de11881f39 README tweaks 2012-10-16 22:22:38 +13:00
Nathan Broadbent
6f3ed7e5ea Added link to demo video 2012-10-16 22:19:13 +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
57d42b983d Update README 2012-10-14 15:17:23 +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
d429f6a3d9 Merge pull request #57 from ZhangBanger/master
Fix cd command in scm_breeze.sh
2012-10-11 23:36:27 -07:00
Andy Zhang
2ec1bf344f Add quotes to cd command in scm_breeze.sh to fix bash eval error 2012-10-12 02:31:55 -04: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
32a184d8c0 '.' => 'source' (some people alias '.' as something different) 2012-09-19 21:40:29 +12:00
Nathan Broadbent
11f2284c5a Added SCM Breeze helpers to test helper 2012-09-19 21:35:25 +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
Nathan Broadbent
dc2d93453b Remove ls from default wrapped commands 2012-09-11 21:39:47 +12:00
Nathan Broadbent
eeb5d321d6 Stub out zsh's vared in tests 2012-08-28 12:26:57 +12:00
Nathan Broadbent
8a8131129c Merge pull request #50 from anonfunc/patch-1
Use vared in zsh instead of read.
2012-08-27 16:57:30 -07:00