diff options
author | Albert Safin <xzfcpw@gmail.com> | 2020-01-17 06:44:00 +0000 |
---|---|---|
committer | Albert Safin <xzfcpw@gmail.com> | 2020-02-19 14:28:49 +0000 |
commit | f2a03acf3f42140f40fa5141b2b6ea94a554df64 (patch) | |
tree | 052d7b56d18eb8c1cac285df24bbd919ca04d252 /.dir-locals.el | |
parent | 8b09105db3869284ee7892f82155dda79f98d6e6 (diff) |
nix-shell: clean up the tmpDir and escape variables
The problem fixed: each nix-shell invocation creates a new temporary
directory (`/tmp/nix-shell-*`) and never cleans up.
And while I'm here, shellescape all variables inlined into the rcfile.
See what might happen without escaping:
$ export TZ="';echo pwned'"
$ nix-shell -p hello --run hello
pwned
Hello, world!
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions