summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
authormitsuo <[email protected]>2021-11-22 04:42:22 -0500
committermitsuo <[email protected]>2021-11-22 04:42:22 -0500
commitf13815efce733d23ba7dc1003d0decde09fccd4c (patch)
tree174d05a6120bc0a32fae7913e5d0fe7e440563c6 /profile
parentb0f6f00e8e29e320b345faecd24de4e8c0640703 (diff)
downloaddotfiles-f13815efce733d23ba7dc1003d0decde09fccd4c.tar.gz
dotfiles-f13815efce733d23ba7dc1003d0decde09fccd4c.tar.bz2
dotfiles-f13815efce733d23ba7dc1003d0decde09fccd4c.zip
General cleanup, make bashrc safer
- Add "if-fi wrappers" before executing some commands in bashrc - Attempt in organizing things better in bashrc, profile and bash_aliases. (Like moving some env. var. exports to bashrc
Diffstat (limited to 'profile')
-rw-r--r--profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/profile b/profile
index ca4a21f..eb10522 100644
--- a/profile
+++ b/profile
@@ -1,3 +1,7 @@
+# On Debian this file is loaded when the user first logs in login(1)
+# If you want something that loads everytime a new terminal emulator is launched
+# then put it inside .bashrc
+
if [ "$SHELL" = "/bin/bash" ]; then
. ~/.bashrc
fi