Nathan Broadbent
5b7a2c4307
Ensure SCM Breeze is loaded after RVM when wrapping the cd command
2013-01-30 12:05:40 +13:00
Nathan Broadbent
d1a9df3844
Added keyboard shortcut to append [ ci skip ] to commit message when committing all files
2013-01-30 11:05:59 +13:00
Nathan Broadbent
63f9fe00d7
Added gbD alias for 'git branch -D', and made gbd do a 'safe' delete with -d
2013-01-30 10:25:13 +13:00
Nathan Broadbent
18e94797e9
Try removing quotes for array concatenation
2013-01-12 12:16:55 +13:00
Nathan Broadbent
df996f4442
Merge pull request #74 from ZhangBanger/master
...
Add 'gdw' for git diff --word-diff
2013-01-10 12:59:48 -08:00
Nathan Broadbent
e785ff6d9a
Merge pull request #75 from grundprinzip/fix_numbered_directories_and_files
...
Fix for numbered directories or files
2013-01-08 10:21:29 -08:00
Martin Grund
fcf5dd3f6f
Fix for numbered directories or files
...
This commit fixes some odd behavior for numbered files and
directories. Even if the environment variables is undefined
cd'ing into a numbered directory is not possible. This pathc
fixes this by checking if the argument is a valid
file or directory and is numnbered and if this is the case will
only output the argument values instead of a substitution with $e..
In case there exist both, numbered valid argument and the
directory or folder, the file will always win to avoid clashes with
standard wrapped functions like cd, rm, mv...
2013-01-08 15:38:04 +01:00
Andy Zhang
8ba76f1cbf
Add "gdw" for git diff --word-diff
...
* Sometimes helpful to see changes inline
* Potential to tweak further with better regex (maybe detect similar char types so diff can be more granular)
2012-12-25 01:36:34 -08:00
Nathan Broadbent
6d297aecba
Wrap $@ in double quotes to preserve blank args
2012-12-21 10:42:14 +13:00
Nathan Broadbent
aa7dd471b5
Also expand args for git rebase x, where x is a shortcut to a branch
2012-12-15 08:49:28 +13:00
Nathan Broadbent
42a5832916
Added 'git tag' alias (gt)
2012-12-10 23:17:54 +13:00
Nathan Broadbent
242d891fcd
Wrap first __git_ignore arg in quotes in case blank
2012-12-10 23:12:13 +13:00
Nathan Broadbent
9822603e9c
Use sed -E for GNU/BSD compatibile regexs
2012-12-05 22:18:00 +13:00
Nathan Broadbent
cd4fb8b079
Added git push -f alias
2012-12-04 13:40:47 +13:00
Nathan Broadbent
2ef3776fe1
git_branch_delete_all should take '-f' arg to use -D arg
2012-11-28 19:41:09 +13:00
Nathan Broadbent
bc969b3e6f
Fixed tests
2012-11-17 11:49:46 +13:00
Nathan Broadbent
963de3b7aa
Handle "aliased to" for OS X Terminal.app ...
2012-11-17 11:45:26 +13:00
Nathan Broadbent
3dcf934a75
Use builtin type to protect against aliases
2012-11-17 11:42:33 +13:00
Nathan Broadbent
0a797fb620
Provide X-compatible find_binary function that finds a binary for a given command. Works with zsh/bash
2012-11-17 11:41:08 +13:00
Aljaž "g5pw" Srebrnič
8db7be7e6c
Merge branch 'master' of git://github.com/ndbroadbent/scm_breeze
2012-11-14 11:09:54 +01:00
Nathan Broadbent
c46e165ca8
Merge pull request #71 from skwp/multiple-gits
...
Pick the first git in case there are multiple
2012-11-14 01:30:03 -08:00
Yan Pritzker
480045e5a4
Pick the first git in case there are multiple
2012-11-13 10:27:57 -06:00
Nathan Broadbent
992b1866b2
Use type -p / -P to determine git binary
2012-11-13 12:45:01 +13:00
Nathan Broadbent
7375597407
Added shortcut to commit README / Documentation with [ci skip]
2012-11-10 13:47:25 +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
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