-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc.local.example
More file actions
72 lines (58 loc) · 2.02 KB
/
Copy path.zshrc.local.example
File metadata and controls
72 lines (58 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Machine-specific zshrc configuration (not tracked in git)
# Copy to ~/.zshrc.local and customize
# ===================
# SSH Keys
# ===================
# Auto-add keys to ssh-agent on shell start
# ssh-add ~/.ssh/id_ed25519 >/dev/null 2>&1
# ssh-add ~/.ssh/github >/dev/null 2>&1
# ssh-add ~/.ssh/work_key >/dev/null 2>&1
# Quick copy public key to clipboard
# alias pubkey="pbcopy < ~/.ssh/id_ed25519.pub"
# ===================
# Project Paths
# ===================
# Ansible roles path
# export ANSIBLE_ROLES_PATH="~/.ansible/roles:/path/to/your/playbooks/roles"
# Custom project directories
# export PROJECTS="$HOME/projects"
# export WORK="$HOME/work"
# ===================
# Encryption (SOPS/Age)
# ===================
# Age key file for SOPS
# export SOPS_AGE_KEY_FILE="$HOME/Library/Application Support/sops/age/keys.txt"
# Or use SSH key for age
# export SOPS_AGE_SSH_PRIVATE_KEY_FILE=~/.ssh/id_ed25519
# ===================
# Language Runtimes
# ===================
# Java
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
# Android SDK (React Native)
# export ANDROID_HOME=$HOME/Library/Android/sdk
# export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools
# Flutter
# export PATH="$PATH:$HOME/devtools/flutter/bin"
# ===================
# Work Aliases
# ===================
# Project shortcuts
# alias myapp="cd ~/projects/myapp && docker compose up -d && nvim ."
# alias work="cd ~/work && tmux new -s work"
# Database connections
# alias db-prod="pgcli postgresql://user@prod-db.example.com/myapp"
# alias db-staging="pgcli postgresql://user@staging-db.example.com/myapp"
# SSH shortcuts (if not in .ssh/config)
# alias prod="ssh deploy@prod.example.com"
# alias staging="ssh deploy@staging.example.com"
# ===================
# Cloud CLIs
# ===================
# AWS profile
# export AWS_PROFILE=mycompany
# GCP project
# export CLOUDSDK_CORE_PROJECT=my-project-id
# Kubernetes context
# alias kprod="kubectl config use-context production"
# alias kstaging="kubectl config use-context staging"