- Added command to clear clipboard history (`cmd_clear.go`). - Implemented command to copy a history item back to the clipboard (`cmd_copy.go`). - Created command to list clipboard history (`cmd_list.go`). - Developed command to watch clipboard changes and store history (`cmd_watch.go`). - Introduced configuration loading for logging and clipboard settings (`config.go`). - Established main application logic with command registration and configuration handling (`main.go`). - Implemented history management with loading, saving, and clearing functionality (`history.go`). - Defined history item structure to store clipboard data (`history_item.go`). - Added utility functions for hashing data and summarizing clipboard content (`hash.go`, `summary.go`). - Updated dependencies in `go.sum`.
29 lines
728 B
Bash
Executable File
29 lines
728 B
Bash
Executable File
#!/bin/usr/env bash
|
|
|
|
if [ -f $HOME/.local/bin/kcm ]; then
|
|
echo "Removing kcm from $HOME/.local/bin"
|
|
rm $HOME/.local/bin/kcm
|
|
rm $HOME/.local/bin/T
|
|
fi
|
|
|
|
if [ -f $HOME/.local/bin/kcm-completion.bash ]; then
|
|
echo "Removing kcm-completion.bash from $HOME/.local/bin"
|
|
rm $HOME/.local/bin/kcm-completion.bash
|
|
fi
|
|
|
|
if [ -f $HOME/.local/bin/php ]; then
|
|
echo "Removing php from $HOME/.local/bin"
|
|
rm $HOME/.local/bin/php
|
|
fi
|
|
|
|
if [ -f $HOME/.local/bin/composer ]; then
|
|
echo "Removing composer from $HOME/.local/bin"
|
|
rm $HOME/.local/bin/composer
|
|
fi
|
|
|
|
if [ -f $HOME/.local/bin/phpstan ]; then
|
|
echo "Removing phpstan from $HOME/.local/bin"
|
|
rm $HOME/.local/bin/phpstan
|
|
fi
|
|
|
|
echo "Uninstall complete." |