Commit graph

62 commits

Author SHA1 Message Date
Wenxuan Zhang 02822e2fe9 feat: 🎸 Do not emojify on diff content 2019-08-17 11:16:32 +08:00
Wenxuan Zhang 3b36db0153 fix: 🐛 Fix relative path issue in diff. #29 2019-08-07 16:39:31 +08:00
Wenxuan Zhang 631cca8c12 feat: 🎸 Support diff with given commit (and paths).#27 2019-08-03 11:59:20 +08:00
Nattaphoom Chaipreecha 0b52a28ab0 Add grh command for git reset HEAD (unstage) 2019-07-05 23:06:46 +07:00
Wenxuan Zhang c1666a4270 fix: 🐛 Fix copy keybind 2019-05-30 18:22:18 +08:00
Wenxuan Zhang 0d542fb3f4 Support multiple lines fzf opts. 2019-05-29 18:11:11 +08:00
Wenxuan Zhang a93657c1fc Bug fix. 2019-05-29 16:39:04 +08:00
Doron Behar 827d1e56a3 Add documentation and align it with actual functionality 2019-05-29 09:32:17 +03:00
Doron Behar bd48b08e4a Use a more general usage env vars to add opts 2019-05-29 09:25:30 +03:00
Doron Behar cf54db9c72 Fix some more bindings and preview commands 2019-05-29 06:39:43 +03:00
Doron Behar b6f1476d86 Enable configuring preview command for every cmd 2019-05-28 15:41:45 +03:00
Wenxuan Zhang 7459ba7cda Support custom gitignore templates repo. #20 2019-03-14 14:15:05 +08:00
Wenxuan Zhang 3c7b9ea4b8 Remove theme & style config for bat. 2019-01-22 15:53:40 +08:00
Wenxuan 9651acbef2 Fix bat url refer comment. 2019-01-22 12:01:12 +08:00
Wenxuan 28d55baf67 Update keybinds table. 2019-01-22 11:58:47 +08:00
Wenxuan ee79b779fd Clean up. 2019-01-22 11:25:38 +08:00
Wenxuan 1b0254a7c6 Respect user's config for bat. 2019-01-21 11:39:32 +08:00
Wenxuan 8a647a9cea Respect user's config for bat(except style). 2019-01-21 11:33:31 +08:00
Wenxuan 2463d767fc Fix function name. 2019-01-21 11:00:45 +08:00
Wenxuan 7c0da36ba7 Feature: Remove option list on gi. #16 2019-01-18 17:52:52 +08:00
Wenxuan 99b3c66cd6 Update README 2019-01-18 17:41:15 +08:00
Wenxuan 99c973a3a1 Specified a better bat theme for gitignore 2019-01-18 17:19:22 +08:00
Wenxuan 92e64772f7 Feature: Add highlight support for gi. 2019-01-18 16:59:35 +08:00
Wenxuan 126453c777 Feature: Support templates not ending with .gitignore 2019-01-18 16:11:53 +08:00
Wenxuan babb299206 Fix a bug which ignoring the files with link type. 2019-01-18 15:48:56 +08:00
Wenxuan 947954ea84 Update LICENSE. 2019-01-18 15:06:27 +08:00
Wenxuan c14ce9312a Improve git color process logic. #15 2019-01-18 14:55:55 +08:00
Wenxuan 621676feb2 Avoid variables polluting env. 2019-01-18 12:23:24 +08:00
Wenxuan ac6e61d692 Improving logging message. 2019-01-17 20:44:24 +08:00
Wenxuan 268c6282cb Refactor & Share code between zsh & sh. 2019-01-17 19:20:03 +08:00
Laggard Kernel cf4c45547c Fix: use case-insensitive find to get local templates
forgit::ignore::get should work on case-sensitive filesystems now
2019-01-17 17:20:59 +08:00
Laggard Kernel c1a8bd71dc Feature: use gitignore templates from local repo directly
The gitignore templates used here is from dvcs/gitignore, which is
the same one used by gitignore.io.

Environment variable `FORGIT_GI_USE_LOCAL` is used as a switch to
enable this feature, or the original method is used by default.

`forgit::ignore::update` and `forgit::ignore::get` are rewritten
to download the repo, to get templates from the local repo.
local variable `preview` in `forgit:ignore` is also rewritten to
get the preview from there.
2019-01-17 14:56:01 +08:00
laggardkernel b3b5110723 Fix: change replstr into variable in forgit::ignore::get 2019-01-11 16:45:02 +08:00
laggardkernel 51961b763f Fix multi selection in gitignore generation
Choose for loop as the solution cause:
- `xargs -d` is not available in BSD xargs
- `echo $@ |tr ' ' '\n'` is slower that for loop in this case
2019-01-11 16:27:16 +08:00
Wenxuan 737e573032 Preview only show specified files. 2018-11-26 17:52:46 +08:00
Wenxuan 5deb20fef9 Make copy command configurable.(#12) 2018-11-09 11:34:04 +08:00
Wenxuan b52a7c7d0f Don't abort before execute command complete. 2018-11-09 11:26:36 +08:00
Doron Behar 57293ea6e9 Enable not defining aliases at all 2018-10-30 16:21:28 +02:00
Wenxuan 3792406afa Add git stash viewer (#8). 2018-09-18 13:36:56 +08:00
Brett Sun 199bc66972
zsh: fix typo in aliasing forgit_add 2018-08-07 00:05:24 +02:00
Wenxuan 43522b9ace Add ctrl-y keybinding on forgit::log. 2018-07-20 15:39:50 +08:00
Wenxuan 72fc7f4c51 Add git-checkout-file & git-clean functions 2018-06-09 17:08:57 +08:00
Wenxuan 2dc83917ec Support user custom fzf options for forgit (#4) 2018-06-03 00:08:24 +08:00
Wenxuan f4e78acefe Support custom status.color #3 2018-05-01 00:13:51 +08:00
Wenxuan 42deb6ef1e 🐛 Fix wrong alias on ga 2018-04-30 16:52:46 +08:00
Wenxuan 2499abae84 Naming refactor 2018-04-30 11:02:16 +08:00
Wenxuan a05721e8b9 Refactor 2018-04-30 10:48:09 +08:00
Michael Mior 2d737674e2 Allow custom aliases 2018-04-20 20:08:38 -04:00
Wenxuan 576891ac7f Improve gd command
Now gd works in subdirectory of repo.
2018-04-09 17:33:46 +08:00
Wenxuan e240d73260 Improve gi function 2018-03-24 10:23:17 +08:00