Skip to content

Commit

Permalink
feat(universals): change default path
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Jan 19, 2020
1 parent 81c000e commit c7ba374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -332,7 +332,7 @@ abbr -a -U -- gcm git checkout master

### Storage

Universal abbreviations live in a plain text file which you can manually edit, shared, etc. Its default location is `${HOME}/config/zsh-abbr/universal`. Customize this by setting the `ZSH_ABBR_UNIVERSALS_PATH` variable in your `.zshrc` before loading zsh-abbr.
Universal abbreviations live in a plain text file which you can manually edit, shared, etc. Its default location is `${HOME}/.config/zsh/universal-abbreviations`. Customize this by setting the `ZSH_ABBR_UNIVERSALS_PATH` variable in your `.zshrc` before loading zsh-abbr.

```shell
% cat ~/.zshrc
Expand Down
3 changes: 2 additions & 1 deletion zsh-abbr.zsh
Expand Up @@ -8,11 +8,12 @@
# -------------

# File abbreviations are stored in
ZSH_ABBR_UNIVERSALS_PATH="${ZSH_ABBR_UNIVERSALS_PATH="${HOME}/.config/zsh-abbr/universal"}"
ZSH_ABBR_UNIVERSALS_PATH="${ZSH_ABBR_UNIVERSALS_PATH="${HOME}/.config/zsh/universal-abbreviations"}"
# Whether to add default bindings (expand on SPACE, expand and accept on ENTER,
# add CTRL for normal SPACE/ENTER; in incremental search mode expand on CTRL+SPACE)
ZSH_ABBR_DEFAULT_BINDINGS="${ZSH_ABBR_DEFAULT_BINDINGS=true}"


# INITIALIZE
# ----------

Expand Down

0 comments on commit c7ba374

Please sign in to comment.