Commit Graph

386 Commits

Author SHA1 Message Date
Tom "Ravi" Hale
3a5b7a685a _print_path: remove unnecessary pipeline 2018-09-01 20:14:36 +07:00
Tom "Ravi" Hale
5f286eaaaa Quote arrays to avoid splitting by $IFS 2018-09-01 20:14:36 +07:00
Wilhelmina Drengwitz
8a326c2505 Merge pull request #262 from ghthor/refactor_of_git_status
Refactor of git status, Closes #132
2018-08-31 16:11:14 -04:00
Willa Drengwitz
750697e925 Add quotes around files with spaces 2018-08-31 16:02:39 -04:00
Willa Drengwitz
f0ef9b06f6 Add back too status max files check 2018-08-31 13:51:34 -04:00
Willa Drengwitz
e789faa1fd Merge remote-tracking branch 'origin/master' into refactor_of_git_status 2018-08-31 13:24:24 -04:00
Nathan Broadbent
e8a5f775d1 Use "^M" on Zsh and "\n" on Bash 2018-09-01 00:22:33 +07:00
Willa Drengwitz
0acc0223a5 Add legacy status script 2018-08-31 13:22:16 -04:00
Nathan Broadbent
e6b1785910 Revert "Use ^M instead of" - Stick with "\n" for now so that Ctrl + x + space works on bash
This reverts commit 1f3b8a6b11.
2018-08-31 23:53:42 +07:00
David Lee
7189656854 [PATCH] Add grep_shortcuts
Closes #125, Thanks David Lee!
2018-08-31 09:33:37 -04:00
Willa Drengwitz
d0c8329137 Fix sorting order 2018-08-31 08:58:23 -04:00
Willa Drengwitz
e6363ac955 Merge remote-tracking branch 'mroth/osx-testing' into osx-testing 2018-08-31 07:48:09 -04:00
Tom "Ravi" Hale
70b4e62bb0 Remove -- from end of aliases 2018-08-18 14:35:43 +07:00
Tom "Ravi" Hale
77b1717008 Avoid test with no arguments and unnecessary subshell 2018-08-17 12:49:07 +07:00
Michael Mior
1f3b8a6b11 Use ^M instead of
for newlines
2018-07-05 16:21:02 -04:00
Nathan Broadbent
65df76ebe4 Fixed key binding 2017-05-06 23:13:45 +07:00
Nathan Broadbent
6745822953 Fix IFS issues - have to always unset after use 2017-02-19 20:05:59 +07:00
Wilhelmina Drengwitz
6baa3c90c8 Merge pull request #128 from dlee/fix_branch_shortcuts_offset
Fix shortcuts offset when branch_shortcuts encounters detached HEAD
2017-02-07 09:08:55 -05:00
Wilhelmina Drengwitz
8c21b3d87f Merge pull request #152 from mroth/fix-clear-vars
BUGFIX: make `git_clear_vars()` actually clear variables
2017-01-30 15:21:44 -05:00
Wilhelmina Drengwitz
beacd7d8a6 Merge pull request #153 from mroth/integrated-branch-porcelain
integrate branch parsing into single system call
2017-01-30 15:19:59 -05:00
Martino Visintin
4d4736d406 remove unimplemented scms 2017-01-27 21:22:43 +00:00
Andy Zhang
76fc67b9fd Bump git index depth to 5 for golang src structure 2016-11-14 11:30:06 -08:00
Antti Salminen
942f2bdd90 Expand arguments for git difftool. 2016-08-28 15:18:47 -04:00
Willa D
d804b2860e Merge pull request #206 from eballerini/apply-alias
added 'git apply' alias

Don't see a completely compelling case where `git apply` really benefits from having access to scm_breeze index shortcuts. `gapp` alias could be pruned in the future.
2016-08-28 15:09:44 -04:00
Wilhelmina Drengwitz
95c082c75c Merge branch 'jawshooah-submodule-update' 2016-08-28 14:46:41 -04:00
Nathan Broadbent
49dca42056 Remove "gh" alias 2016-08-17 15:00:51 +07:00
Emmanuel B
c655ace09c added 'git apply' alias 2016-07-06 07:53:18 -04:00
Nathan Broadbent
db85db81a9 Merge pull request #160 from jawshooah/pull-rebase
Add alias for "git pull --rebase"
2016-07-01 16:17:25 +07:00
Nathan Broadbent
a8c30f7351 Merge commit '40e91b8' 2016-05-14 22:38:59 +07:00
Nathan Broadbent
da0af808d0 Merge pull request #185 from patbl/master
exec_scmb_expand_args: Escape ampersands.
2016-05-14 22:33:26 +07:00
Nathan Broadbent
2d5d404f66 Merge pull request #197 from tjlevine/noclobber-fix
Use >| operator in _rebuild_git_index when overwriting .git_index file
2016-05-14 22:32:25 +07:00
Nathan Broadbent
47a0b6c724 Add git whatchanged alias (gwc), thanks tjlevine (#196) 2016-05-14 22:31:55 +07:00
Nathan Broadbent
9f850c0dd0 Merge pull request #191 from aswin/master
Change gd to be 'git diff' without the two dashes. Add a new alias gd…
2016-05-14 22:29:18 +07:00
Nathan Broadbent
987da4d6a2 Skip env variables for git branch if there are more than 300 branches 2016-05-14 22:27:04 +07:00
Nathan Broadbent
2e10cedb20 Merge pull request #199 from shinriyo/patch-1
top level path shortcut
2016-05-14 22:11:56 +07:00
Brian Peiris
0d80de33e6 Fix infinite loop in shell with babun (cygwin) 2016-04-11 05:10:36 -04:00
shinriyo
62d8df8371 top level path shortcut
top level path shortcut "gtop"
2016-03-16 18:09:42 +09:00
Tyler Levine
747b60cf37 Use >| operator in _rebuild_git_index when overwriting .git_index file
If the shell has the noclobber option set, s --rebuild will fail to
update the .git_index file. Using the >| operator instead of the >
operator forces the .git_index file to be clobbered, which is the
desired behavior.
2016-03-14 12:56:15 -07:00
Aswinkumar Rajendiran
8086742768 Change gd to be 'git diff' without the two dashes. Add a new alias gdf for 'git diff --' 2015-10-14 18:09:28 -07:00
Patrick Brinich-Langlois
6e28eb645a exec_scmb_expand_args: Escape ampersands. 2015-08-23 21:51:27 -07:00
Nathan Broadbent
53aba36670 Fix issue with aliases that have no args 2015-06-16 17:20:29 +07:00
Alexey Komnin
71f3086df9 Fix setting alias for "_scmb_git_branch_shortcuts"
__git_alias expects three arguments. Passing two arguments to __git_alias for "gb" leads to undesirable behaviour on some platforms.
2015-06-03 11:47:14 +03:00
Armen Baghumian
5dd21beeea Fixes 'git fetch' and 'git checkout' liases, closes #176 2015-05-28 14:05:33 +00:00
Armen Baghumian
ff4ae7932d Fixed __git_alias bug in zsh 2015-05-26 12:46:11 +00:00
Nathan Broadbent
d288f3cd74 Fixed bug in __git_alias 2015-05-25 23:01:14 +07:00
Armen Baghumian
1ef06aa9cd Offset starts from 0 so the argument would be 3
This patch fixes broken aliases which have arguments (e.g. gap)
2015-05-21 04:09:57 +00:00
James Ravn
bdf6096808 Fix quoting of semicolon and pipe 2015-05-10 00:39:05 +01:00
Stephan van Eijkelenburg
e9217f50ab Fixes #168 (zsh-problems)
This PR replaces `local varname=value` style declarations with `local varname; varname=value`. This solves #168 which caused troubles in zsh environments
2015-05-07 17:02:34 +02:00
Josh Hagins
40e91b81ff Add alias for git diff -w -- 2015-05-06 12:49:30 -04:00
Josh Hagins
9e24890de6 Add alias for git pull --rebase 2015-05-06 12:48:43 -04:00