mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-20 01:23:43 -05:00
fix conflict of fc with fcs
@@ -181,9 +181,9 @@ fshow() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# fc - get git commit sha
|
# fcs - get git commit sha
|
||||||
# example usage: git rebase -i `fc`
|
# example usage: git rebase -i `fcs`
|
||||||
fc() {
|
fcs() {
|
||||||
local commits commit
|
local commits commit
|
||||||
commits=$(git log --color=always --pretty=oneline --abbrev-commit --reverse) &&
|
commits=$(git log --color=always --pretty=oneline --abbrev-commit --reverse) &&
|
||||||
commit=$(echo "$commits" | fzf --tac +s +m -e --ansi --reverse) &&
|
commit=$(echo "$commits" | fzf --tac +s +m -e --ansi --reverse) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user