mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 15:26:16 -04:00
Remove _forgit_extract_sha global variable
This commit is contained in:
parent
ce92400d32
commit
3010712ea7
|
|
@ -75,7 +75,6 @@ _forgit_emojify() {
|
|||
}
|
||||
|
||||
# extract the first git sha occurring in the input and strip trailing newline
|
||||
_forgit_extract_sha="grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]'"
|
||||
_forgit_extract_sha() {
|
||||
grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue