Showing posts with label command line. Show all posts
Showing posts with label command line. Show all posts

20141013

Bash Contexts Cont. (for those still bashing)

To iterate on my olde poste mines!: bash contexts about directory-specific shell scripts — via local ./.bashrc's and the following line at the end of ~/.bashrc So, to make this technique complete (and to support login shells starting from non-home directories, like with Terminal.app's Resume), you must also add the following line at the beginning of ~/.profile

20090909

bash contexts


in your ~/.bashrc and any .bashrc's in your working directories
— for context-(cwd)-specific bash sessions!

20090804

simple (bash) file tagging utility

444 lines of pure bash tagging goodness!

Usage: tag OPTIONS FILENAME [TAG ...]
- tag FILENAME with the TAGs (if none, list current tags on FILENAME)
untag OPTIONS FILENAME [TAG ...]
- remove TAGs (or ALL if none specified) from FILENAME and list removed

(currently, you need some aliases to make this work)

This is a very raw (alpha, hehe) version of my new invention, but it works: I can tag and I can untag, and I can browse tags in my (unix) filesystem.

It has plenty of info inside, so please take your time and look at it.

Comments are much more than welcome.

p.s. In no particular order:
p.p.s. UPD!