diff options
author | katherine <shmibs@shmibbles.me> | 2017-02-19 03:47:19 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2017-02-19 03:47:19 -0700 |
commit | 4cd93b09b3a179515630114078739564a35af38d (patch) | |
tree | 9d4b873cca07f62f457acd82df0c433bd2af1535 /.zprofile | |
parent | 01cc1fd9f8d3484451fb33dc06d3eb76622dd7e0 (diff) | |
download | dotfiles-4cd93b09b3a179515630114078739564a35af38d.tar.gz |
move remaining funcs from .zshrc
everything should be modular now
also, cleaned up make-gif to properly parse arguments and check things
Diffstat (limited to '.zprofile')
-rw-r--r-- | .zprofile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -38,8 +38,10 @@ if [[ -d ~/.config/init/funcs/ && -d ~/.config/init/funcreqs ]]; then for f in $HOME/.config/init/funcreqs/*; do source "$f" func_init_checkreq $func_init_prereqs , $func_init_checks - [[ $? -eq 0 ]] && \ + if [[ $? -eq 0 ]] then + chmod +x $HOME/.config/init/funcs/${f:t} ln -s $HOME/.config/init/funcs/${f:t} /tmp/funcs/${f:t} + fi done fi |