aboutsummaryrefslogtreecommitdiff
path: root/common/profile.org
blob: 99c090869e2cbe79352e774e4bf1c5bd74b5a54b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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