wip
This commit is contained in:
parent
2474f1e6c8
commit
d1d2e79fb7
1 changed files with 6 additions and 5 deletions
7
.zshenv
7
.zshenv
|
@ -78,13 +78,14 @@ getGitDir() {
|
|||
export GIT="$HOME/Dokumente/git/forgejo"
|
||||
return 0
|
||||
elif [[ -d "$HOME/git" ]]; then
|
||||
[ -d "$HOME/git/forgejo" ] &&
|
||||
export GIT="$HOME/git/forgejo" &&
|
||||
if [ -d "$HOME/git/forgejo" ]; then
|
||||
export GIT="$HOME/git/forgejo"
|
||||
return 0
|
||||
|
||||
else
|
||||
export GIT="$HOME/git"
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
if command_exists git; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue