Skip to content

Commit

Permalink
Export all
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmorganson committed Apr 11, 2024
1 parent 6299f93 commit 04ac58c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions home/dot_profile.tmpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
set -a

# XDG
source ~/.cache/xdg.sh

# PATH
export PATH="$HOME/.local/bin:$HOME/.orbstack/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin"
PATH="$HOME/.local/bin:$HOME/.orbstack/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin"

# LS_COLORS
export LS_COLORS={{ output "pkgx" "vivid" "--color-mode" "8-bit" "generate" "one-dark" | trim | quote }}
LS_COLORS={{ output "pkgx" "vivid" "--color-mode" "8-bit" "generate" "one-dark" | trim | quote }}

# Github
export GITHUB_USER={{ output "sh" "-c" "pkgx gh api https://api.github.com/user --jq '.login' || true" | trim | quote }}
export GIT_AUTHOR_NAME={{ output "sh" "-c" "pkgx gh api https://api.github.com/user --jq '.name' || true" | trim | quote }}
export GIT_AUTHOR_EMAIL={{ output "sh" "-c" "pkgx gh api https://api.github.com/user/public_emails --jq '.[0].email' || true" | trim | quote }}
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
GITHUB_USER={{ output "sh" "-c" "pkgx gh api https://api.github.com/user --jq '.login' || true" | trim | quote }}
GIT_AUTHOR_NAME={{ output "sh" "-c" "pkgx gh api https://api.github.com/user --jq '.name' || true" | trim | quote }}
GIT_AUTHOR_EMAIL={{ output "sh" "-c" "pkgx gh api https://api.github.com/user/public_emails --jq '.[0].email' || true" | trim | quote }}
GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL

0 comments on commit 04ac58c

Please sign in to comment.