aboutsummaryrefslogtreecommitdiff
path: root/common/.profile.org
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-10-01 17:42:59 -0500
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-10-01 17:42:59 -0500
commit7b0ea5cbdaaa5b8392777ad207c74cb27411eab1 (patch)
tree37a3438116ec3c84663133c820808ad9e2acf021 /common/.profile.org
parent7a347653dfad8c6c33791f7e72a4ec40b8230ac3 (diff)
the big refactor
Diffstat (limited to 'common/.profile.org')
-rw-r--r--common/.profile.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/common/.profile.org b/common/.profile.org
new file mode 100644
index 0000000..99c0908
--- /dev/null
+++ b/common/.profile.org
@@ -0,0 +1,19 @@
+#+TITLE: =.profile= Settings
+Add items to the path.
+#+begin_src sh :tangle ~/.profile
+export PATH="$HOME/.local/share/fzf-zsh-plugin/bin:$HOME/node_modules/.bin:$HOME/.emacs.d/bin:$HOME/bin:$HOME/gems/bin:$HOME/.local/bin:$HOME/go/bin:/usr/local/bin:/Library/TeX/texbin/:$PATH"
+#+end_src
+
+Set =GPG_TTY= on Mac OS.
+#+begin_src sh :tangle ~/.profile
+ if [ "$(uname)" = 'Darwin' ] && ps -e | grep -q 'emacs --daemon'; then
+ export GPG_TTY=$(tty)
+ fi
+#+end_src
+
+Fix =pipx= path on Mac OS.
+#+begin_src sh :tangle ~/.profile
+ if [ "$(uname)" = 'Darwin' ]; then
+ PIPX_HOME="$HOME/.local/pipx"
+ fi
+#+end_src