Uninstalling asksh¶
Follow these steps to remove asksh, its shell hooks, and its local data from your machine.
-
Stop the background daemon if it is running:
-
Remove the
# askshblock (export PATH=...orfish_add_path ..., and theasksh initline) from your shell startup file:- zsh:
~/.zshrc(or$ZDOTDIR/.zshrc) - bash:
~/.bashrcor~/.bash_profile - fish:
~/.config/fish/config.fish
- zsh:
-
Delete the
askshbinary. By default, the installer places it in~/.local/bin:If you installed to a custom
$ASKSH_INSTALL_DIRor built from source elsewhere, remove that binary instead. -
Delete the configuration and data directories:
If you set
$ASKSH_CONFIG_DIR,$ASKSH_DATA_DIR,$XDG_CONFIG_HOME, or$XDG_DATA_HOME, delete those directories instead. If the daemon socket fell back to/tmp(when the data directory path exceeded 96 bytes), remove it as well: -
Optionally remove any
.asksh/directories inside your repositories if you created project-localpermissions.toml,memory.toml,runbooks/, orskills/files.
Restart your shell after updating your startup file so the old keybindings and hooks are unloaded.