chore(secrets): rotate secrets, purge history, and add placeholders

This commit is contained in:
mw
2026-03-20 13:05:39 +01:00
parent 2a7ed4ea40
commit 2281455a33
7 changed files with 169 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
#!/bin/bash
# Standardize shell configuration (bash)
set -euo pipefail
echo "Standardizing shell configuration to bash..."
# Ensure we are in home
cd "$HOME"
# Install starship if missing
if ! command -v starship &> /dev/null; then
echo "Installing starship prompt..."
curl -sS https://starship.rs/install.sh | sh
fi
# Apply .bashrc
cat << 'EOF' > .bashrc
# Starship prompt
if command -v starship &> /dev/null; then
eval "$(starship init bash)"
fi
# Basic Coder Tools
alias ll='ls -la'
alias gs='git status'
alias gp='git pull'
alias gco='git checkout'
# AI Agent Friendly Aliases
alias ai-logs='tail -f mcp_keepalive.log'
alias node-logs='tail -f node_debug.log'
alias edit-bash='${EDITOR:-nano} ~/.bashrc'
alias source-bash='source ~/.bashrc'
# Path fixes
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/bin:$PATH"
EOF
# Apply .bash_profile
cat << 'EOF' > .bash_profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
EOF
echo "Bash standardized. Restart your terminal."