mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 06:40:13 -08:00
feat: Add cleanup script for my-aliases.zsh tracking and update documentation
This commit is contained in:
@@ -285,13 +285,13 @@ COMPLETION_SCRIPT="$DOTFILES_DIR/completions/backup-scripts-completion.bash"
|
||||
if [ -f "$COMPLETION_SCRIPT" ]; then
|
||||
# Create completions directory in home
|
||||
mkdir -p "$HOME/.local/share/bash-completion/completions"
|
||||
|
||||
|
||||
# Copy completion script to user's completion directory
|
||||
cp "$COMPLETION_SCRIPT" "$HOME/.local/share/bash-completion/completions/"
|
||||
|
||||
|
||||
# Make sure it's executable
|
||||
chmod +x "$HOME/.local/share/bash-completion/completions/backup-scripts-completion.bash"
|
||||
|
||||
|
||||
echo -e "${GREEN}Bash completion script installed successfully!${NC}"
|
||||
else
|
||||
echo -e "${YELLOW}Warning: Bash completion script not found at $COMPLETION_SCRIPT${NC}"
|
||||
|
||||
Reference in New Issue
Block a user