From e14a8dbddbab589b6255660e7abfd900482a7a96 Mon Sep 17 00:00:00 2001 From: memdmp Date: Tue, 27 May 2025 18:51:03 +0200 Subject: fix: rename reloadopt to _zuwu_reloadopt. Mention lack of guarantees --- CHANGELOG.md | 8 +++++++- zuwu.zsh | 7 ++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 936cd48..59c680b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,13 @@ The changes below are not available in a stable release yet, and are only availa Items here can change in various ways, and changes introduced here should not be considered _stable_. - +### Breaking Changes + +- Removed starship loader - see commit for instructions on getting back old behaviour ([`759d8da`](https://git.estrogen.zone/zuwu.git/commit/?id=759d8da79ee95780d8123666fdb59b6589335df2)) + +### Fixes + +- Don't check for completion installation in hyperfast mode - if in hyperfast mode, use the `zuwu_compinstall` command after startup to replicate non-hyperfast behaviour ([`50eb123`](https://git.estrogen.zone/zuwu.git/commit/?id=50eb12378c164235026dbd6745adce5bcbab00c6)) diff --git a/zuwu.zsh b/zuwu.zsh index 0257f71..e7f58ee 100755 --- a/zuwu.zsh +++ b/zuwu.zsh @@ -100,8 +100,9 @@ fi autoload -U up-line-or-beginning-search autoload -U down-line-or-beginning-search -# Keybinds and all that jazz -reloadopt() { +# Keybinds and shit +# NOTE: this provides *NO* guarantees of properly reloading things. Restart your shell for a proper reload. +_zuwu_reloadopt() { if [[ -f "$HOME/.zshconf" ]]; then no-op "${XDG_CONFIG_HOME:="$HOME/.config"}"; if ! [[ -d "$XDG_CONFIG_HOME" ]]; then @@ -185,7 +186,7 @@ reloadopt() { bindkey -r "^[[F" fi } -reloadopt +_zuwu_reloadopt # Fix $HOME path being entirely inlined in zsh completion shit (or any other string at the beginnig thereof) if grep "\"$HOME" "$HOME/.zshrc" >/dev/null 2>/dev/null; then -- cgit v1.2.3