summaryrefslogtreecommitdiff
path: root/.shells/exports
blob: cda78fd517046d252d522c06ea1d3141daf48efa (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Export 'SHELL' to child processes.  Programs such as 'screen'
# honor it and otherwise use /bin/sh.
export SHELL
export PATH="$PATH:~/.local/share/flatpak/exports/bin/"

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