m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 16:45:38 -05:00

fix conflict of fc with fcs

Raine Virta
2015-05-10 19:23:52 +03:00
parent 1a28321439
commit 42f43d0183

@@ -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) &&