Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eiriksm/psychic-bugfixes
Stupid script to get path working dir of a process
https://github.com/eiriksm/psychic-bugfixes
Last synced: about 2 months ago
JSON representation
Stupid script to get path working dir of a process
- Host: GitHub
- URL: https://github.com/eiriksm/psychic-bugfixes
- Owner: eiriksm
- Created: 2014-04-11T12:39:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-05T14:25:32.000Z (over 10 years ago)
- Last Synced: 2024-10-12T01:46:35.392Z (3 months ago)
- Language: Shell
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
psychic-bugfixes
================Stupid script to get path working dir of a process
A typical use case I use is I don't remember where I have a `compass` process running in some tmux session (when working on multiple projects).
`psychic-bugfixes compass` will tell me what the working directories are of all processes with the word compass. In fact, you can also use it like `psychic-bugfixes comp` and it will probably give you what you need.
## Installation
Assuming you have `pgrep` and `pwdx` installed, and that ~/bin is in your path, you can just run `make install`.## Requirements
- pgrep
- pwdx## Licence
[WTFPL](http://en.wikipedia.org/wiki/WTFPL)