diff options
author | Thanos Apollo <[email protected]> | 2023-01-04 17:08:00 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-01-04 17:08:00 +0200 |
commit | 45d9f9d4e44fe8ee8ce44744c51b1302c690cfbb (patch) | |
tree | 7b762cbc88a886ede609d0983da290ac0757dcfa /.shells/exports | |
parent | 044c8050ffe0f91898970e9b31453eef93a76500 (diff) |
Add bashrc and .shells
Diffstat (limited to '.shells/exports')
-rw-r--r-- | .shells/exports | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.shells/exports b/.shells/exports new file mode 100644 index 0000000..cda78fd --- /dev/null +++ b/.shells/exports @@ -0,0 +1,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
\ No newline at end of file |