plugin/git-subrepo: use `$HOME` instead of `~`
If the outer variable is double-quoted, then the default expansion when undefined does not get tilde-expanded. Use `$HOME`.pull/2015/head
parent
2e51e92699
commit
a99b597217
|
|
@ -3,4 +3,4 @@
|
|||
cite about-plugin
|
||||
about-plugin 'load git-subrepo if you are using it, and initialize completions'
|
||||
|
||||
[[ -e "${GIT_SUBREPO_ROOT:=~/.git-subrepo}/init" ]] && source "$GIT_SUBREPO_ROOT/init"
|
||||
[[ -e "${GIT_SUBREPO_ROOT:=$HOME/.git-subrepo}/init" ]] && source "$GIT_SUBREPO_ROOT/init"
|
||||
|
|
|
|||
Loading…
Reference in New Issue