Compare commits

..

1 Commits

Author SHA1 Message Date
19e4a2b3c8 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:55:02 +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