🚀 Complete machine migration setup with encrypted backups
- Added comprehensive configuration files for seamless migration - SSH, GPG, Karabiner, iTerm2, Neofetch, SwiftBar configs - Pass license management system with templates and documentation - Enhanced shell functions with MAS updates and moon phase tracking - Comprehensive encrypted backup system (GPG AES256) - Included encrypted backups of all sensitive data - BBEdit as default editor with proper configuration - Fixed shell compatibility issues - Merged existing .zsh configs with improvements Security: - All sensitive data is GPG encrypted (.gpg files) - Private keys excluded from version control - Only configs and encrypted backups are tracked Following prime directive: durable, thoughtful solutions 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
a0e34f78ae
commit
389febb161
Executable
+35
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
# Quick license entry helper for pass
|
||||
# Following prime directive: streamlined license management
|
||||
|
||||
if [[ $# -ne 1 ]]; then
|
||||
echo "Usage: new-license <app-name>"
|
||||
echo "Example: new-license BBEdit"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
APP_NAME="$1"
|
||||
TEMPLATE="$HOME/dotfiles/pass-templates/license-template.txt"
|
||||
|
||||
# Check if template exists
|
||||
if [[ ! -f "$TEMPLATE" ]]; then
|
||||
echo "❌ Template not found: $TEMPLATE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create temp file with template
|
||||
TEMP_FILE=$(mktemp)
|
||||
cp "$TEMPLATE" "$TEMP_FILE"
|
||||
|
||||
# Open in editor
|
||||
${EDITOR:-vim} "$TEMP_FILE"
|
||||
|
||||
# Add to pass
|
||||
pass insert --multiline "licenses/$APP_NAME" < "$TEMP_FILE"
|
||||
|
||||
# Cleanup
|
||||
rm "$TEMP_FILE"
|
||||
|
||||
echo "✅ License for $APP_NAME added to pass"
|
||||
echo "📋 View with: pass licenses/$APP_NAME"
|
||||
echo "✏️ Edit with: pass edit licenses/$APP_NAME"
|
||||
Reference in New Issue
Block a user