mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
migrate autoloading to a common file
This commit is contained in:
parent
fa80fdd2ac
commit
3527cee4cb
2 changed files with 8 additions and 4 deletions
|
|
@ -1,9 +1,7 @@
|
|||
## .profile
|
||||
|
||||
# load all shell files
|
||||
for file in ~/.dotfiles/shell/*; do
|
||||
[[ -x $file ]] && source $file
|
||||
done
|
||||
. "$DOTFILES_ROOT_DIR/shell/autoload"
|
||||
|
||||
export PATH
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
|
|||
6
shell/autoload
Normal file
6
shell/autoload
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# load all shell files
|
||||
for file in ~/.dotfiles/shell/*; do
|
||||
[[ -x $file ]] && source $file
|
||||
done
|
||||
|
||||
# vim: ft=sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue