bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A feature proposal


From: yati sagade
Subject: Re: A feature proposal
Date: Sat, 5 Jan 2013 14:40:33 +0530

Sorry for the incomplete message!

Then , we can also have ls -a print out (parts of) these summaries whenever
available depending upon some option passed to ls. I tried to achieve this
for myself by creating a bash function, but that (naturally) goes into
infinite recursion and is not a very neat way to do it IMHO.
This is just a proposal and if many people like it, I'm ready to work on it
:)

Thanks


On Sat, Jan 5, 2013 at 2:36 PM, yati sagade <yati.sagade@gmail.com> wrote:

> Hi
> I have found many a time that in my huge home directory tree, I forget
> what directory contains exactly what. e.g., in ~/Projects/ml/py I might
> keep the solutions to my machine learning course I wrote in Python, but
> sometimes, we all can be bit shaky with naming directories and later have
> to hunt for something when we need it.
>
> What if a directory could optionally contain a special file, say,
> ".__about__ ",  which contains a brief summary of what this directory
> contains. Then, the flow could be
>
>
>    - Create a directory optionally with a message
>
>              $ mkdir -p foo/bar --about "Example directory".
>
>    - The cd builtin, depending upon an environment variable or an option,
>    also cats the .__about__ file after performing the chdir.
>
> $ cd --about foo/bar
>
>               foo/bar: Example directory
>
>
> --
> Yati Sagade
>
> Software Engineer at mquotient <http://www.mquotient.net/>
> <http://twitter.com/yati_itay>
>
> Twitter: @yati_itay <http://twitter.com/yati_itay> | Github: 
> yati-sagade<https://github.com/yati-sagade>
>
> Organizing member of TEDx EasternMetropolitanBypass
> http://www.ted.com/tedx/events/4933
>
> https://www.facebook.com/pages/TEDx-EasternMetropolitanBypass/337763226244869
>
>


-- 
Yati Sagade

Software Engineer at mquotient <http://www.mquotient.net/>
<http://twitter.com/yati_itay>

Twitter: @yati_itay <http://twitter.com/yati_itay> | Github:
yati-sagade<https://github.com/yati-sagade>

Organizing member of TEDx EasternMetropolitanBypass
http://www.ted.com/tedx/events/4933
https://www.facebook.com/pages/TEDx-EasternMetropolitanBypass/337763226244869


reply via email to

[Prev in Thread] Current Thread [Next in Thread]