summaryrefslogtreecommitdiff
path: root/.shells/exports.sh
blob: aaf0f7dcd8d640048d75d74ba5b41438e2d887a7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Export 'SHELL' to child processes.  Programs such as 'screen'
# honor it and otherwise use /bin/sh.
export SHELL
export PATH
export PATH=/home/$USER/.local/bin:$PATH
export EDITOR="emacsclient"
export GIT_EDITOR="emacsclient"
export SBCL_HOME="/usr/lib/sbcl/"
export PATH=$PATH:~/.roswell/bin
export SBCL_HOME=/usr/local/lib/sbcl
export XDG_SESSION_TYPE=x11
export OLLAMA_HOST=zeus:11434

## Python
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"

if [[ $- != *i* ]]
then
    # We are being invoked from a non-interactive shell.  If this
    # is an SSH session (as in "ssh host command"), source
    # /etc/profile so we get PATH and other essential variables.
    [[ -n "$SSH_CLIENT" ]] && source /etc/profile

    # Don't do anything else.
    return
fi