|
@@ -7,8 +7,11 @@ function git_write_keyword --description 'Write git in terminal prompt'
|
|
|
commandline -C (math $cursor + 4)
|
|
|
else if test (commandline -p) = 'git '
|
|
|
commandline -r 'git commit -a'
|
|
|
- commandline -C (math $cursor + 10)
|
|
|
+ commandline -C 13
|
|
|
else if test (commandline -p) = 'git commit -a'
|
|
|
+ commandline -r 'git add .'
|
|
|
+ commandline -C 9
|
|
|
+ else if test (commandline -p) = 'git add .'
|
|
|
commandline -r ''
|
|
|
commandline -C 0
|
|
|
else
|