1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 11:38:00 +00:00

Merge upstream/master

This commit is contained in:
Daniel Carrillo 2021-12-04 12:13:47 +01:00
commit a96f1618b4
2 changed files with 2 additions and 2 deletions

View File

@ -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" 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 ```sh
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:=$HOME/.config}" export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:=$HOME/.config}"

View File

@ -47,7 +47,7 @@ file="$3"
if [[ -n "$url" ]]; then if [[ -n "$url" ]]; then
url="$url/tree/$reference/$file" url="$url/tree/$reference/$file"
if [[ -z "$BROWSER" ]]; then if [[ -n "$BROWSER" ]]; then
"$BROWSER" "$url" "$BROWSER" "$url"
return 0 return 0
else else