bash_aliases: alias files do not need to be executable to be sourced
This commit is contained in:
1 parent
b513d3be90
commit
cb3f4e43f2
1 file changed
+1
-1
+1
-1
@@ -129,7 +129,7 @@ fi
|
||||
# or within a subdirectory thereof
|
||||
# this allows multiple alias files or repositories of alias files
|
||||
for f in ~/.bash_aliases.d/* ~/.bash_aliases.d/*/*; do
|
||||
if [ -f $f -a -x $f ]; then
|
||||
if [ -f $f ]; then
|
||||
. $f
|
||||
fi
|
||||
done
|
||||
Reference in new issue
Block a user