Wenxuan
cd3ba29ad1
Feature: Remove option list on gi. #16
...
Former-commit-id: 7c0da36ba7
2019-01-18 17:52:52 +08:00
Wenxuan
1802ec26fc
Update README
...
Former-commit-id: 99b3c66cd6
2019-01-18 17:41:15 +08:00
Wenxuan
877b153a20
Specified a better bat theme for gitignore
...
Former-commit-id: 99c973a3a1
2019-01-18 17:19:22 +08:00
Wenxuan
32fe86131a
Feature: Add highlight support for gi.
...
Former-commit-id: 92e64772f7
2019-01-18 16:59:35 +08:00
Wenxuan
e2776a28e2
Feature: Support templates not ending with .gitignore
...
Former-commit-id: 126453c777
2019-01-18 16:11:53 +08:00
Wenxuan
34a2133524
Fix a bug which ignoring the files with link type.
...
Former-commit-id: babb299206
2019-01-18 15:48:56 +08:00
Wenxuan
eb110c636f
Update LICENSE.
...
Former-commit-id: 947954ea84
2019-01-18 15:06:27 +08:00
Wenxuan
1567cdfdbf
Improve git color process logic. #15
...
Former-commit-id: c14ce9312a
2019-01-18 14:55:55 +08:00
Wenxuan
7159c756d1
Avoid variables polluting env.
...
Former-commit-id: 621676feb2
2019-01-18 12:23:24 +08:00
Wenxuan
b6b509a306
Improving logging message.
...
Former-commit-id: ac6e61d692
2019-01-17 20:44:24 +08:00
Wenxuan
80fe6ac4a6
Refactor & Share code between zsh & sh.
...
Former-commit-id: 268c6282cb
2019-01-17 19:20:03 +08:00
Wenxuan
d25f070bf9
Merge pull request #14 from laggardkernel/feature-local-gitignore
...
Feature: use gitignore templates from local repo directly
Former-commit-id: 49d2c36006
2019-01-17 19:14:57 +08:00
Laggard Kernel
48ddadd782
Fix: use case-insensitive find to get local templates
...
forgit::ignore::get should work on case-sensitive filesystems now
Former-commit-id: cf4c45547c
2019-01-17 17:20:59 +08:00
Laggard Kernel
28c4bf41e1
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.
Former-commit-id: c1a8bd71dc
2019-01-17 14:56:01 +08:00
Wenxuan
5024e8fd23
Update README
...
Former-commit-id: a14edad451
2019-01-11 17:32:25 +08:00
Wenxuan
4727156b5b
Merge pull request #13 from laggardkernel/fix-multi-selection
...
Fix multi selection in gitignore generation
Former-commit-id: f849552a52
2019-01-11 17:28:47 +08:00
laggardkernel
f648d171cc
Fix: change replstr into variable in forgit::ignore::get
...
Former-commit-id: b3b5110723
2019-01-11 16:45:02 +08:00
laggardkernel
c9869c2167
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
Former-commit-id: 51961b763f
2019-01-11 16:27:16 +08:00
Wenxuan
bd2974e397
Preview only show specified files.
...
Former-commit-id: 737e573032
2018-11-26 17:52:46 +08:00
Wenxuan
c0d1c86459
Make copy command configurable.( #12 )
...
Former-commit-id: 5deb20fef9
2018-11-09 11:34:04 +08:00
Wenxuan
b83af3fc18
Don't abort before execute command complete.
...
Former-commit-id: b52a7c7d0f
2018-11-09 11:26:36 +08:00
Wenxuan
3cad61acad
Update README
...
Former-commit-id: db21e7a3d2
2018-11-07 10:32:11 +08:00
Wenxuan
46cbfbbc13
Merge pull request #11 from doronbehar/ctrl-aliases
...
Document env var FORGIT_NO_ALIASES
Former-commit-id: b9100a95da
2018-11-07 10:23:36 +08:00
Doron Behar
5f74c097da
Document env var FORGIT_NO_ALIASES
...
Former-commit-id: 9edb2a1fcf
2018-11-05 22:21:29 +02:00
Wenxuan
ca0270b615
Merge pull request #10 from doronbehar/ctrl-aliases
...
Enable not defining aliases at all
Former-commit-id: c1ebb210e0
2018-10-31 10:09:43 +08:00
Doron Behar
219364d571
Check $FORGIT_NO_ALIASES in bash script as well
...
Former-commit-id: cc269c82fa
2018-10-30 18:35:27 +02:00
Doron Behar
24e0505f88
Enable not defining aliases at all
...
Former-commit-id: 57293ea6e9
2018-10-30 16:21:28 +02:00
Wenxuan
da5471278a
Merge pull request #9 from mars90226/master
...
Add `git stash` viewer for bash
Former-commit-id: 3fca70dfa1
2018-10-12 15:42:42 +08:00
marspeng
92dbea3c9d
Add git stash viewer for bash
...
Former-commit-id: 7461d58662
2018-10-12 15:12:16 +08:00
Wenxuan
40eb2428df
Update README
...
Former-commit-id: 319d01b06c
2018-09-27 20:47:55 +08:00
Wenxuan
80b02bd838
Amend README.
...
Former-commit-id: 4ee7af0f84
2018-09-18 13:37:07 +08:00
Wenxuan
92cffcaaff
Add git stash viewer ( #8 ).
...
Former-commit-id: 3792406afa
2018-09-18 13:36:56 +08:00
Wenxuan
82acf32b21
Merge pull request #6 from sohkai/master
...
zsh: fix typo in aliasing forgit_add
Former-commit-id: 6599369fc5
2018-08-07 10:22:32 +08:00
Brett Sun
a67e9ec701
zsh: fix typo in aliasing forgit_add
...
Former-commit-id: 199bc66972
2018-08-07 00:05:24 +02:00
Wenxuan
846667e95d
Update README.
...
Former-commit-id: 55cfdfa0de
2018-08-03 10:04:03 +08:00
Wenxuan
f3a434c3e9
Move screenshots out of the repo.
...
Former-commit-id: 5810a21480
2018-08-03 09:56:06 +08:00
Wenxuan
deb4c9a317
Update README.
...
Former-commit-id: 740ef6c148
2018-08-03 09:52:29 +08:00
Wenxuan
dfbaf09327
Merge pull request #5 from idoa01/bash_support
...
Bash support
Former-commit-id: 02b53d36e8
2018-08-03 09:30:18 +08:00
Ido Abramovich
0d728706b6
return 1 when return like in zsh
...
Former-commit-id: 9d4e17e7b4
2018-08-02 14:47:30 +03:00
Ido Abramovich
44bfa7dcfe
simplify return check
...
Former-commit-id: e6e88991b4
2018-08-02 14:45:29 +03:00
Ido Abramovich
2d37bf1993
reset IFS
...
Former-commit-id: ebeae219bc
2018-08-02 14:25:19 +03:00
Ido Abramovich
4d6bf04df2
update README.md
...
Former-commit-id: 8faab30e94
2018-08-02 14:13:37 +03:00
Ido Abramovich
b36aaa5cb0
rename to use .sh
...
Former-commit-id: 742d930363
2018-08-02 14:13:23 +03:00
Ido Abramovich
d12e3c3a3a
back to default forgit::add functionality
...
Former-commit-id: c1757163d0
2018-07-31 17:43:23 +03:00
Ido Abramovich
3c94129d66
remove zsh setopt
...
Former-commit-id: f5c0ed1679
2018-07-31 17:30:11 +03:00
Ido Abramovich
f32aed2a5a
add gclean
...
Former-commit-id: 4eefa62936
2018-07-31 17:29:54 +03:00
Ido Abramovich
e52fb178f6
add forgit restore
...
Former-commit-id: 24a38b00f3
2018-07-31 17:20:59 +03:00
Ido Abramovich
72cf0c121d
add diff and ignore commands
...
Former-commit-id: ce240ac9f7
2018-07-31 17:14:18 +03:00
Ido Abramovich
add2590ce2
add git commit browser
...
Former-commit-id: 32636f56c4
2018-07-31 16:58:15 +03:00
Ido Abramovich
923a9879ff
basic bash script; add 'ga'
...
Former-commit-id: 866f6c0f2b
2018-07-31 16:47:45 +03:00