We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a043a commit b29cd17Copy full SHA for b29cd17
profile
@@ -10,6 +10,9 @@
10
# ~/.bash_profile. Personal aliases and functions should go into
11
# ~/.bashrc.
12
13
+# Enable extglob for exclusion synatxes
14
+shopt -s extglob
15
+
16
# Set up PATH and MANPATH
17
unset PATH MANPATH
18
_IFS='
@@ -35,7 +38,8 @@ export HISTFILESIZE=4096
35
38
# Timezone variable $TZ, Wine and stuff alike need it.
36
39
export TZ="$(readlink /etc/localtime | sed -e 's/^\.\.//g' -e 's@/usr/share/zoneinfo/@@')"
37
40
-for script in /etc/profile.d/* ; do
41
+# Source profile scripts, excluding csh scripts
42
+for script in /etc/profile.d/!(*.csh) ; do
43
[ -r $script ] && . "$script"
44
done
45
0 commit comments