Compare commits

..

2 Commits

Author SHA1 Message Date
mike
05bb74a5ee Merge branch 'main' of 192.168.1.159:tour/finish
Some checks failed
Docker Build and Push / build-and-push (push) Has been cancelled
Tests / test (bash) (push) Has been cancelled
Tests / test (zsh) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Tests / docker (push) Has been cancelled
2025-12-29 21:43:10 +01:00
mike
768832d981 rag 2025-12-21 05:50:12 +01:00
2 changed files with 43 additions and 0 deletions

42
docs/uninstall.sh Executable file
View File

@@ -0,0 +1,42 @@
#!/bin/sh
# finish uninstaller
echo "Removing finish installation..."
# Remove binary
if [ -f "$HOME/.local/bin/finish" ]; then
rm -f "$HOME/.local/bin/finish"
echo "✓ Removed $HOME/.local/bin/finish"
fi
# Remove venv
if [ -d "$HOME/.venvs/finish" ]; then
rm -rf "$HOME/.venvs/finish"
echo "✓ Removed $HOME/.venvs/finish"
fi
# Remove config and cache
if [ -d "$HOME/.finish" ]; then
rm -rf "$HOME/.finish"
echo "✓ Removed $HOME/.finish"
fi
# Remove keybinding from .bashrc
if [ -f "$HOME/.bashrc" ]; then
if grep -q "# finish.py key-binding" "$HOME/.bashrc"; then
sed -i '/# finish.py key-binding/,+8d' "$HOME/.bashrc"
echo "✓ Removed keybinding from ~/.bashrc"
fi
fi
# Remove keybinding from .zshrc
if [ -f "$HOME/.zshrc" ]; then
if grep -q "# finish.py key-binding" "$HOME/.zshrc"; then
sed -i '/# finish.py key-binding/,+8d' "$HOME/.zshrc"
echo "✓ Removed keybinding from ~/.zshrc"
fi
fi
echo ""
echo "Uninstall complete!"
echo "Run 'source ~/.bashrc' to reload your shell"

1
fish.txt Normal file
View File

@@ -0,0 +1 @@
><(((('>