rlanore
416ac0308f
fix: fix reset parameter in FORGIT_LOG_FORMAT default value ( #145 )
...
* Fix reset color int FORGIT_LOG_FORMAT default value
* Fix FORGIT_LOG_FORMAT default doc
2021-03-25 20:55:46 +08:00
rlanore
8538c052bf
feat: support custom git log format ( #143 )
...
* Add option to git log format tunnable
* Add FORGIT_LOG_FORMAT doc
* Fix shellchecks
* rename options misc
Co-authored-by: Wenxuan Zhang <wenxuangm@gmail.com>
2021-03-25 11:15:18 +08:00
Wenxuan
983a50140b
Merge pull request #142 from cjappl/fish_vim_gcb
...
Fish vim gcb
2021-03-13 12:15:48 +08:00
Christopher Apple
74724a80cb
Moved to new argument names version of arg parsing
2021-03-12 13:15:48 -08:00
Christopher Apple
58ae7dce87
first attempt at fixing both
2021-03-12 12:58:50 -08:00
Carlos de Paula
3faab44f66
Use argument to create new branch on gcb
2021-03-12 12:58:50 -08:00
Wenxuan
12b8881573
Merge pull request #140 from carlosedp/gcb-args
...
Use argument to create new branch on gcb
2021-03-10 21:33:41 +08:00
Carlos de Paula
47ed525130
Use argument to create new branch on gcb
2021-03-10 10:21:01 -03:00
Wenxuan Zhang
15383e6b4d
fix: fix copy without newline ( #141 )
...
Don't known why `tr -d '\n'` inner fzf options doesn't work.
Use `tr -d '[:space:]'` instead. It's OK for this scenario.
2021-03-10 10:01:20 +08:00
Wenxuan
304a5aa268
Merge pull request #139 from wfxr/dev
...
fix: improve compatibility for vim
2021-03-09 09:56:18 +08:00
Wenxuan Zhang
29bc286228
fix: improve compatibility for vim ( #138 )
2021-03-08 10:39:19 +08:00
Wenxuan
c57c9f9172
Merge pull request #137 from wfxr/dev
...
Add license content as `mit-license.org` suggested.
2021-03-05 11:08:25 +08:00
Wenxuan Zhang
9a8ae69529
docs: add bedges
2021-03-01 11:44:37 +08:00
Wenxuan Zhang
ca769c2377
chore: add LICENSE content
2021-03-01 11:40:57 +08:00
Wenxuan
4ad0cac6e1
Merge pull request #135 from abheyogy/master
...
Update README.md
2021-03-01 10:20:19 +08:00
Abheyogy
06f5abb8e5
Update README.md
...
Adds installation option for zinit.
2021-02-26 15:05:28 +05:30
Chris Apple
7b18caa340
Fish checkout branch - updated internal function names to checkout::file and checkout::branch ( #134 )
...
* Initial commit, gcb working and function names fixed
* Fixing indentation
2021-02-18 11:51:54 +08:00
Yiannis
4cd46818a5
feat: add gcb to switch branches in a repo ( #131 #26 #101 )
...
I added `gcb` which is used to list all the branches and checkout into
one of your choice. I believe this is a useful functionality especially
when a repo has too many branches to rememmber and lookup.
The preview shows the log graph from the selected branch.
I have removed keybinding for copy commit hash on gcb alias
Signed-off-by: b10n1k <jbonatakis@gmail.com>
2021-02-07 18:21:51 +08:00
Chris Apple
c63bd2b8d1
Merge pull request #130 from tassianoalencar/fix-readme
...
Fix installation documentation using fisher
2021-01-07 13:37:15 -08:00
Tassiano Alencar
e57310a8c6
Fix readme installation on fisher
2021-01-06 08:55:55 -03:00
Wenxuan
84c515db1d
Merge pull request #128 from 7ocb/reset-color-after-each-line
...
Reset color in git format after each line
2020-12-23 09:14:09 +08:00
me
0e7399ce15
Reset color in git format after each line so next line does not get affected
2020-12-22 08:13:01 +03:00
Chris Apple
1397e6904b
Merge pull request #126 from frediz/fix-diff-execute-command
...
Fix forgit::diff's fzf execute because of undefined $cmd
2020-12-03 10:08:23 -08:00
Frédéric Bonnard
2baf9180ff
Fix forgit::diff's fzf execute because of undefined $cmd
2020-12-03 15:37:28 +01:00
Wenxuan Zhang
dde028120e
docs: prefer delta to diff-so-fancy
2020-11-25 10:23:42 +08:00
Wenxuan Zhang
95526b3130
refactor: replace "-R" with "-r" for less pager
2020-11-11 19:36:14 +08:00
Chris Apple
b4b0e10a05
Merge pull request #124 from wfxr/fish_rebase
...
Git rebase for fish shell
2020-11-09 10:23:41 -08:00
Christopher Apple
32807e67da
Git rebase for fish shell
2020-11-09 10:07:47 -08:00
Chris Apple
d142b681ff
Merge pull request #122 from wfxr/feat-rebase
...
Add rebase function
2020-11-06 09:05:27 -08:00
Wenxuan Zhang
074059454d
docs: add grb docs
2020-11-03 15:49:55 +08:00
Wenxuan Zhang
968d362997
feat: add forgit::rebase function
2020-11-03 15:47:11 +08:00
Wenxuan Zhang
50495dc421
docs: update fish shorten url etc ( #116 )
2020-10-14 12:33:00 +08:00
Wenxuan Zhang
2d950aa2c4
fix: export global variables for omf ( #116 )
2020-10-14 12:11:56 +08:00
Wenxuan Zhang
18edc577a0
refactor: replace symbol link with actual file ( #116 )
2020-10-14 10:33:26 +08:00
AoHiyuki
56f5aaafbc
feat: add fisher support for fish
...
Fix typo in function name and add some function descriptions
Update fish ci job
Update README
Update README for fish manual installation, revert shortlink
Merge all the files back to 1 like before
refactor: use symbol link
docs: simplify changes
2020-10-13 11:04:47 +08:00
Wenxuan Zhang
dccfff52e5
refactor: FORGIT_IGNORE_PAGER etc. ( #112 )
2020-09-11 17:20:46 +08:00
Wenxuan Zhang
6c6e493b94
refactor: prefer using .cache directory
2020-09-11 17:11:58 +08:00
Wenxuan Zhang
56ece45973
fix: fix FORGIT_GI_REPO_LOCAL error in subshell
2020-09-11 16:59:00 +08:00
Wenxuan Zhang
7235949cdf
refactor: FORGIT_IGNORE_PAGER etc. ( #112 )
2020-09-11 16:55:35 +08:00
mirsella
d8d530ec50
feat: add FORGIT_IGNORE_PAGER option ( #112 )
...
* added FORGIT_BAT_OPTION to add optional options to bat
* fixed arguments
* removed curly brace in for fish
* BAT_OPTION to BAT_OPTS
* BAT_OPTION to BAT_OPTS in readme
* changed BAT_OPTS TO BAT_PAGER which is directly the command used to output
* update readme for FORGIT_IGNORE_PAGER
2020-09-11 16:33:55 +08:00
mirsella
e8f32648a6
refactor: prefer using XDG directory ( #113 )
...
* FORGIT_GI_REPO_LOCAL and XDG
if FORGIT_GI_REPO_LOCAL is not already declared, use XDG_CACHE_HOME/.forgit/gi/repos/dvcs/gitignore if declared, and if not declared too, use the the fallback path which is ~/.forgit/gi/repos/dvcs/gitignore
* fixed fish
2020-09-11 11:02:38 +08:00
Chris Apple
4594e9acf1
Merge pull request #114 from mirsella/bugfix
...
fixed fish if .forgit wasn't already existing
2020-09-10 09:06:58 -07:00
Chris Apple
1b366bb5a4
Changed ! to "not"
2020-09-10 09:05:36 -07:00
mirsella
ff0c6fd639
fixed fish if .forgit wasn't already existing
...
when using forgit for the first time, the .forgit folder is not
created. forgit::ignore::update, which git glone the repo, was executed
only if the folder existed, so now it execute only if the .forgit don't
exist.
also, there some weird things in the logic with forgit::ignore::update,
some part of the code it not running in any case, since the if test -d
in the fonction is called in a fonction which is called only if the
folder don't exist, or i miss something ?
2020-09-10 15:14:28 +02:00
Chris Apple
522547af28
Merge pull request #109 from cjappl/git-cherry
...
git cherry working in fish shell
2020-09-03 10:49:58 -07:00
Christopher Apple
a732afafb4
git cherry working in fish shell
2020-09-03 10:46:39 -07:00
Wenxuan Zhang
12d5d3c0d1
fish: sync #107
2020-09-02 15:40:02 +08:00
Wenxuan
c20e56d3a8
Merge pull request #107 from jsfaint/fix-gclean
...
Add missing parameters to fix gclean
2020-09-02 14:54:49 +08:00
Jia Sui
c80cf8c5e1
Add missing parameters to fix gclean
...
Without `-f` some file will not be cleaned
2020-09-02 14:50:03 +08:00
Wenxuan Zhang
9a36f6ea5e
refactor: reformat
2020-08-27 11:29:49 +08:00