1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,17 @@ |
1 |
+## Source POSIX login session startup script |
|
2 |
+if [ -r "$HOME/.profile" ] |
|
3 |
+then |
|
4 |
+ . "$HOME/.profile" |
|
5 |
+fi |
|
6 |
+ |
|
7 |
+## For interactive shells, source `.bashrc` |
|
8 |
+# This happens with login shells. |
|
9 |
+case $- in |
|
10 |
+ *i*) |
|
11 |
+ # Source Bash interactive shell startup scripts. |
|
12 |
+ if [ -r "$HOME/.bashrc" ] |
|
13 |
+ then |
|
14 |
+ . "$HOME/.bashrc" |
|
15 |
+ fi |
|
16 |
+ ;; |
|
17 |
+esac |