mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 13:02:15 +08:00
Return inside of the if statement
This commit is contained in:
parent
39a793af0a
commit
6c1a81b5cf
@ -10,7 +10,7 @@ local git_dir="${$(git rev-parse --git-dir):A}"
|
||||
if [[ -n "$git_dir" ]]; then
|
||||
print "$git_dir"
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
|
||||
return 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user