mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-24 19:10:10 +01:00
Make sure only files get sourced
This commit is contained in:
parent
4533bdebad
commit
bce33d39e0
@ -13,7 +13,7 @@
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
for file in ~/.{bash_prompt,aliases,private}; do
|
||||
[ -r "$file" ] && source "$file"
|
||||
[ -r "$file" ] && [ -f "$file" ] && source "$file"
|
||||
done
|
||||
unset file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user