-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbash_profile.sh
More file actions
30 lines (24 loc) · 757 Bytes
/
bash_profile.sh
File metadata and controls
30 lines (24 loc) · 757 Bytes
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
28
29
30
# ~/.bash_profile: executed by the command interpreter for login shells.
# Because of this file's existence, neither ~/.bash_login nor ~/.profile
# will be sourced.
# See /usr/share/doc/bash/examples/startup-files for examples.
# The files are located in the bash-doc package.
# source .profile if it exists
if [ -r "$HOME/.profile" ]; then
. "$HOME/.profile"
fi
# The following sources ~/.bashrc in the interactive login case,
# because .bashrc isn't sourced for interactive login shells:
case "$-" in
*i*)
if [ -r "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
esac
# include .bashrc if it exists
# if [ -r "$HOME/.bashrc" ]; then
# . "$HOME/.bashrc"
# fi
if [ -r "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi