Comments (4)
Reopening. Thanks to @christianparpart, it seems a trap funcname EXIT
"hook" should make the cleanup possible.
from envprobe.
Implemented the first half (using $XDG_RUNTIME_DIR
) for the upcoming new version.
from envprobe.
It's not possible (excluding very weird hacks) to detect if a non-login shell exited. Usually, shells run by users in terminal emulators are not login shells... so I'm scrapping the second idea of this issue, and closing it down with the first.
from envprobe.
Done. 😓 ZSH's trap "functions" suck, but I figured it out.
from envprobe.
Related Issues (19)
- Support assignment shortcut without `=` or `!`
- Make the shell integration hook shorter HOT 1
- [bash] Setting string variable separated by spaces results in error HOT 1
- Warn if adding nonexistent directory (or non-directory?) to a `PATH`-like
- At `load` or `save` of a diff, stamp only the diff to be "known", not the entire environment HOT 1
- Instead of relying on `cat` and `rm`, emit the hook through the program HOT 1
- [checklist] Feature migration to V1 HOT 2
- Automatically generate submissions for the community descriptions project
- Mark certain saved environment configs as "autoexec"
- Allow unloading a loaded save
- PATH-like variable modifications overwrite instead of union in saves HOT 1
- The "ignored" variable type
- Support marking variables as read-only
- Enable management of shell aliases
- List saves when just `envprobe` is called HOT 1
- Support Zsh
- Create tests
- Allow `epc descriptions update` from any URL, not just central repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envprobe.