forked from marcoadkins/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocalrc.example
More file actions
23 lines (23 loc) · 838 Bytes
/
Copy pathlocalrc.example
File metadata and controls
23 lines (23 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ~/.localrc — per-machine zsh extras (NOT in git)
#
# Sourced at the very top of ~/.zshrc (see zsh/zshrc.symlink). Use this for
# anything that's specific to one laptop or that you don't want committed
# to a public dotfiles repo: work credentials, API tokens, machine-specific
# $PATH entries, hostname-specific aliases.
#
# Pairs nicely with the 1Password CLI — pull secrets at shell-start time so
# they live in env vars but never on disk:
#
# export GITHUB_TOKEN="$(op read 'op://Private/GitHub/token')"
# export OPENAI_API_KEY="$(op read 'op://Private/OpenAI/api key')"
#
# Per-machine PATH additions:
#
# path=(/opt/homebrew/opt/postgresql@16/bin $path)
#
# Hostname-specific tweaks:
#
# case "$(hostname -s)" in
# work-laptop) export AWS_PROFILE=work ;;
# home-desktop) export AWS_PROFILE=personal ;;
# esac