1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 09:19:25 +00:00

Replace git with 'command git' (#1551)

to improve performance if git is aliased to hub or other wrappers.
This commit is contained in:
Diego Rabatone Oliveira
2018-03-05 05:56:25 -03:00
committed by Kaleb Elwert
parent e00562e7cf
commit b3c27bb164
16 changed files with 54 additions and 54 deletions

View File

@ -7,7 +7,7 @@
# function git-dir {
local git_dir="${$(git rev-parse --git-dir):A}"
local git_dir="${$(command git rev-parse --git-dir):A}"
if [[ -n "$git_dir" ]]; then
print "$git_dir"