diff --git a/README.md b/README.md index f46e378..5479721 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ version is **4.3.11**. git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}/.zprezto" ``` - - Configure `$XDG_CONFIG_HOME` and `$ZDOTDIR` in _`${$HOME}/.zshenv`_: + - Configure `$XDG_CONFIG_HOME` and `$ZDOTDIR` in _`$HOME/.zshenv`_: ```sh export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:=$HOME/.config}" diff --git a/modules/git/functions/git-hub-browse b/modules/git/functions/git-hub-browse index bdeb298..3451198 100644 --- a/modules/git/functions/git-hub-browse +++ b/modules/git/functions/git-hub-browse @@ -47,7 +47,7 @@ file="$3" if [[ -n "$url" ]]; then url="$url/tree/$reference/$file" - if [[ -z "$BROWSER" ]]; then + if [[ -n "$BROWSER" ]]; then "$BROWSER" "$url" return 0 else