Compare commits

..

1 Commits

Author SHA1 Message Date
173337d9a2 Add autoenv, automatic environment setup
Using a hook, automatically detect when `.enter` and `.exit` scripts
and source them when changing the shells current directory.
2018-04-22 17:23:15 +01:00

View File

@ -34,7 +34,7 @@ _autoenv_authorized() {
esac esac
done done
# Store authorized associative array in authorized file. # Store authorized associative array in authorized file.
echo ${(kv)authorized} > $authorized_file echo ${(kv)authorized) > $authorized_file
} }
# Source an enter script and add its directory to the global entered # Source an enter script and add its directory to the global entered