- 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>
35 lines
812 B
Bash
Executable File
35 lines
812 B
Bash
Executable File
#!/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" |