Skip to content

Commit 78463d2

Browse files
committed
bashrc, profile: sourcing
1 parent e36ab61 commit 78463d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bashrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ _ret_prompt() {
7575
_ret_same() { return $?; }
7676

7777
# Base functions ready. Let's load bashrc.d.
78-
for c in /etc/bashrc.d/*; do . $c; done
78+
for script in /etc/bashrc.d/*; do . "$script"; done
7979

8080
# The prompt depends on vcs_status! Get one backup anyway.
8181
declare -f _vcs_status >/dev/null || ! echo _vcs_status not declared, making stub.. || alias _vcs_status=_ret_same

profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export HISTFILESIZE=4096
3636
# Timezone variable $TZ, Wine and stuff alike need it.
3737
export TZ="$(readlink /etc/localtime | sed 's/^\.\.//g' | sed "s/\/usr\/share\/zoneinfo\///")"
3838

39-
for script in /etc/profile.d/*.sh ; do
39+
for script in /etc/profile.d/* ; do
4040
[ -r $script ] && . $script
4141
done
4242

0 commit comments

Comments
 (0)