Uninstall
Remove gitflect from your system.Uninstall script
The uninstall script removes the gitflect binary and the shell integration block from ~/.bashrc and ~/.zshrc.
curl -fsSL https://raw.githubusercontent.com/shravanngoswamii/gitflect/main/uninstall.sh | sh
After it runs, reload the shell to complete the removal:
exec $SHELL
Or simply open a new terminal.
Manual removal
If you prefer to remove it by hand:
1. Remove the binary
rm -f ~/.local/bin/gitflect
If you installed to a custom directory, replace ~/.local/bin with the path you used.
2. Remove the shell integration block
Open your shell profile (~/.bashrc or ~/.zshrc) and delete the lines between and including the markers:
# >>> gitflect >>>
# ...
# <<< gitflect <<<
3. Reload the shell
exec $SHELL
Configuration files
The uninstall script does not remove the config file. If you reinstall gitflect later, your settings are preserved automatically.
To remove the config as well:
rm -rf ~/.config/gitflect
If you used $XDG_CONFIG_HOME, remove $XDG_CONFIG_HOME/gitflect instead.
Verify removal
command -v gitflect || echo "gitflect removed"