-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move git and github envs into profile
- Loading branch information
1 parent
0d48b0c
commit e7ae220
Showing
4 changed files
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
# XDG | ||
source ~/.cache/xdg.sh | ||
|
||
# LS_COLORS | ||
export LS_COLORS={{ output "pkgx" "vivid" "--color-mode" "8-bit" "generate" "one-dark" | trim | quote }} | ||
|
||
# PATH | ||
export 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 }} | ||
|
||
# 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 |