]> ruderich.org/simon Gitweb - config/dotfiles.git/commit
Simplified loading of config files by using a function.
authorSimon Ruderich <simon@ruderich.org>
Thu, 2 Oct 2008 12:19:29 +0000 (14:19 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 16 Feb 2009 15:34:39 +0000 (16:34 +0100)
commit0f76f93bd286c46d281a574a6db67e038b6d42a7
tree21dcc534690bef79e38296930d16725c3f49bbc6
parentdbd35008dac79b1213e70d48e11b19920a2a54f7
Simplified loading of config files by using a function.

source_config() first tries to load the given file and then if unsuccessful
the .local file for that file.

For more information look at the comments of source_config().

Also added tests for source_config() and Makefile to run them.
Makefile [new file with mode: 0644]
bash/rc
shell/env
tests/run.zsh [new file with mode: 0644]
tests/source_config.test [new file with mode: 0644]
tests/source_config.test.out [new file with mode: 0644]
zsh/env
zsh/env.local
zsh/rc