vonshednob / pter

Manage your todo.txt in a commandline user interface (TUI)
https://vonshednob.cc/pter/
MIT License
102 stars 6 forks source link

corresponding to home `~` in windows is? #22

Closed goyalyashpal closed 1 year ago

goyalyashpal commented 1 year ago

What does ~ or the home directory translates to in windows?

The configuration file's default location is at ~/.config/pter/pter.conf.

Update:

coming here from:

old description it always kills me to decode this dreaded `~` in the location - please share one typical example of where this can be in windows - we don't have linux like dir structure here 😭 . we are `home`-less sorry for such a tone, i am just tired of so many tasks at hand
vonshednob commented 1 year ago

Oh, sorry for the confusion!

You’re right, the abbreviation ~ is not very clearly explained in the documentation (or at all).

On Windows (tried on Win10 just now) it is C:\Users\<your username>\.config\pter\pter.conf.

But, you can also place it in a different location, buy then you’ll have to start pter (or qpter) with -c <location of your config file>.

I hope this helps!

Also: thanks a lot for indicating how you came here :)

goyalyashpal commented 1 year ago

I always forget:

this can be a nice addition in the manual too

%USER% directory in window

goyalyashpal commented 1 year ago

so, per the manual, %USERPROFILE%/.config/pter/pter.conf should open the directory/file, but, i found that there's no pter folder in the .config, so, should i create that??

vonshednob commented 1 year ago

Yes, if you want to override the defaults, you will have to create the file yourself!

goyalyashpal commented 1 year ago

okay :+1: