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