Appearance
Migrating between versions
Upgrading from v5 to v6
v6 includes a Git submodule. When cloning manually, add
--recurse-submodulesgit clone https://github.com/olets/zsh-abbr --single-branch --branch <branch> --depth 1 git clone https://github.com/olets/zsh-abbr --recurse-submodules --single-branch --branch <branch> --depth 1If you've set up something custom with Widgets and key bindings make sure you've migrated off deprecated functions.
- Instead of
abbr-expand-and-spaceuseabbr-expand-and-insert
- Instead of
If you customized the v5-deprecated
ABBR_PRECMD_LOGS, you can delete that - the feature it relates to has been dropped.If you're using any undocumented internal zsh-abbr functions deprecated in v5, you'll have to come up with something else.
Toggle the full list
These internal values were dropped:
ABBR_PRECMD_MESSAGE
These internal functions were dropped:
_abbr_add_widgets_abbr_bind_widgets_abbr_deprecations_abbr_integrations_abbr_precmd_abbr:util_deprecated
These internal functions deprecated are now internal only:
_abbr_init_abbr_warn_deprecation_abbr:add_abbr:clear_session_abbr:erase_abbr:expand_abbr:expansion_abbr:export_aliases_abbr:git_abbr:import_aliases_abbr:import_fish_abbr:import_git_aliases_abbr:list_abbr:list_abbreviations_abbr:list_commands_abbr:print_version_abbr:profile_abbr:rename_abbr:util_add_abbr:util_alias_abbr:util_bad_options_abbr:util_check_command_abbr:util_error_abbr:util_import_alias_abbr:util_list_abbr:util_list_item_abbr:util_log_unless_quiet_abbr:util_log_unless_quieter_abbr:util_print_abbr:util_set_once_abbr:util_set_to_typed_scope_abbr:util_sync_user_abbr:util_usage_abbr:util_warn
Install the latest zsh-abbr following the instructions at Installation.
Downgrading from v6 to v5
- Install v5.x
- Plugin manager: use your manager to install zsh-abbr from branch
v5. - Homebrew: install v4shelland follow the post-install instructions logged to the terminal.
brew uninstall --force zsh-abbr && brew install olets/tap/zsh-abbr@5 - Manual:
- either download the latest v5.x's archive from https://github.com/olets/zsh-abbr/releases
- or clone the
v5branch:shellgit clone https://github.com/olets/zsh-abbr --single-branch --branch v5 --depth 1
- Plugin manager: use your manager to install zsh-abbr from branch
- Restart zshshell
exec zsh
Older versions
Visit the v5 docs.
