mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
add some comments to "bashrc"
This commit is contained in:
parent
20ec9302fe
commit
e0d3c99e0d
1 changed files with 8 additions and 6 deletions
2
bashrc
2
bashrc
|
@ -3,12 +3,14 @@
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[ -z "$PS1" ] && return
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
|
# common shell utils
|
||||||
if [ -d "${HOME}/.commonsh" ] ; then
|
if [ -d "${HOME}/.commonsh" ] ; then
|
||||||
for file in "${HOME}"/.commonsh/* ; do
|
for file in "${HOME}"/.commonsh/* ; do
|
||||||
. $file
|
. $file
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# extras
|
||||||
if [ -d "${HOME}/.bash" ] ; then
|
if [ -d "${HOME}/.bash" ] ; then
|
||||||
for file in "${HOME}"/.bash/* ; do
|
for file in "${HOME}"/.bash/* ; do
|
||||||
. $file
|
. $file
|
||||||
|
|
Loading…
Add table
Reference in a new issue