mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Allow arguments to fzgit
This commit is contained in:
parent
fd5ec73a1b
commit
bf27aaaf84
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ function fzcd() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function fzgit() {
|
function fzgit() {
|
||||||
git log --oneline --decorate --color | fzf --ansi --preview 'git show $(echo {} | cut -d" " -f1)'
|
git log --oneline --decorate --color "${@}" | fzf --ansi --preview 'git show $(echo {} | cut -d" " -f1)'
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: ft=bash
|
# vim: ft=bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue