Hi,
Those files are required by cygwin. Not sure what each is used for, but I know you need them.
The .bash-profile defines the bash environment.
The .bashrc can be used to set up shortcuts. You could add a line like like:
alias t='$HOME/todo.sh -d $HOME/todo.cfg'
and then instead of typing
./todo.sh
everytime you type a todo.sh command, like ./todo.sh add "This is my todo", you could type:
t add "This is my todo
so the
alias command specifies a shortcut for commands.
Hope that helps,
Craig
--- In todotxt-hHKSG33TihhbjbujkaE4pw@public.gmane.org, "sbankston66" <sbankston66 <at> ...> wrote:
>
> Craig,
>
> I found my c:\cygwin\home\shelly\ directory. I put the todo.sh and
> todo.cfg files
in this directory. The directory had also three other
> files... .bash-profile (2kb); .bashrc (4kb); and .inputrc (2kb); can i
> delete these? are they necessary? wonder how they got there and why they
> are used. they seem like cygwin files.
>
> Shelly
>
>
> --- In todotxt-hHKSG33TihhbjbujkaE4pw@public.gmane.org, "sbankston66" sbankston66 <at> wrote:
> >
> > Craig, thank you. i have a couple of questions.
> > 1. where is the optimal place to put the todo.txt folder?
> > 2. TODO_DIR="/cygdrive/c/Documents/todo"
> > i didnt know i had to put the cygdrive in there...
> >
> > 3. What you want to do is put the "todo.sh" and "todo.cfg" from the
> > > > todo.txt.zip package in that directory.
do i got to the directory
> > from within cygwin or from within my computer harddrive?
> >
> > 4. does the todo.txt file need to alos be in a 'cygdrive' directory?
> >
> > 5. is there a space in the command before the - h?.... ./todo.sh -
> h?
> >
> > Thanks for your help shelly
> > --- In todotxt-hHKSG33TihhbjbujkaE4pw@public.gmane.org, "sbankston66" sbankston66 <at> wrote:
> > >
> > > Craig, thank you. i hope to use your suggestion in the next few days
> > and
> > > get back to you. Thanks.
> > > --- In todotxt-hHKSG33TihhbjbujkaE4pw@public.gmane.org, "not.balanced" notbalanced <at> wrote:
> > > >
> > > > Hi,
> > > >
> > > > Normally, cygwin gets
installed to the c:\cygwin\ directory
> > (although
> > > > you could specify a different directory).
> > > >
> > > > If you open the normal cygwin prompt, it actually starts you out
> in
> > > the
> > > > "c:\cygwin\home\YourUserName" directory.
> > > >
> > > > What you want to do is put the "todo.sh" and "todo.cfg" from the
> > > > todo.txt.zip package in that directory.
> > > >
> > > > The next thing you want to do is edit the line in the todo.cfg
> file
> > > that
> > > > says:
> > > > export TODO_DIR="C:/Documents and Settings/gina/My Documents"
> > > >
>
> > > You want to change that line to where you want your todo.txt to
> be.
> > > So
> > > > for example if you have a folder at c:\Documents\todo\ and you
> want
> > > the
> > > > todo.txt file to be in there, you would change the line to be:
> > > >
> > > > export TODO_DIR="/cygdrive/c/Documents/todo"
> > > >
> > > > (notice the forward slashes (/) rather than backward slashes (\).
> > It
> > > is
> > > > important to use forward slashes for cygwin)
> > > >
> > > > Also, it would be best not to have spaces in your path, if
> possible.
> > > > (You can do it, but it i
s more complicated.)
> > > >
> > > > After you save the todo.cfg file, you should be able to open the
> > > cygwin
> > > > prompt and type:
> > > > ./todo.sh -h
> > > > and you should get the help listing for ./todo.sh
> > > >
> > > > Regarding the .todo file, I think that the latest version of
> todo.sh
> > > > uses the todo.cfg file instead.
> > > >
> > > > Hope that helps,
> > > > Craig
> > > >
> > > > --- In todotxt-hHKSG33TihhbjbujkaE4pw@public.gmane.org, "sbankston66" sbankston66 <at> wrote:
> > > > >
> > > > > I have downloaded the most stable release of the todo.
txt.zip
> > > package
> > > > which is 2.5 i think. the .todo file i have does not have
> > > > TODO_DIR="users/gina/documents/todo"; instead it had "~..." cant
> > > > remember after ~. i replaced that line with the path to my
> > > > directory..question ..do i have to name the .todo file as last in
> > teh
> > > > directory? I cant get cydwin to run the command in p7, #3 in
> > > lifehacker
> > > > book. IS the problem with my cydwin? i am beginning to think so...
> > > > > which version of cydwin should i be running? I am so confused
> and
> > > > could use some help...thanks. I am trying to follow instructions
> on
> > > p7,
> > > > lifehacker.
> > > > >
> > > >
> > >
> >
>
__._,_.___
http://todotxt.com
__,_._,___