-
Notifications
You must be signed in to change notification settings - Fork 1
Customizing the dsu configuration file
Your dsu
configuration file will be in your respective operating system's home folder:
-
macOS
:/Users/<username>/.dsu)
-
Linux
:/home/<username>/.dsu
-
Windows
:C:\Users\<username>\.dsu
You may edit the dsu
configuration file to meet your needs. However, you should only customize the configuration file of an official dsu
release (e.g. n.n.n
, not n.n.n.alpha.n
).
Running the following command in your terminal will display the dsu
configuration file options and settings...
dsu config info #=>
DO NOT edit this value. This value coincides with the dsu
migration version and should not be edited.
This is the default editor to use when editing entry groups if the EDITOR environment variable on your system is not set.
Default: nano
(you'll need to change the default editor on Windows systems)
NOTE: Visual Studio Code, users, use "code --wait"
(or "code -w"
, short form) to make sure the vscode editor waits for the edited file to be saved and closed before returning control to the dsu process.
Valid values are 'asc' and 'desc', and will sort listed DSU entries in ascending or descending order respectfully, by day.
Default: 'desc'
Applicable to the dsu edit
command. Valid values are true|false
. If true
, when editing DSU entries for the first time on any given day (e.g. dsu edit today
), DSU entries from the previous day will be copied into the current editing session. If there are no DSU entries from the previous day, dsu
will search backwards up to 7 days to find a DSU date that has entries to copy. If after searching back 7 days, no DSU entries are found, the editor session will simply provide no previous DSU entries.
Default: false
Applicable to dsu
commands that display DSU date lists (e.g. dsu list
commands). Valid values are true|false
. If true
, all DSU dates within the specified range will be displayed, regardless of whether or not a particular date has entries. If false
, only DSU dates between the first and last DSU dates that have entries will be displayed.
Default: false
Valid values are any valid theme name listed as a result of running dsu theme list
.
Designates the default project. It is only recommended that you change this value through the dsu
UI (see Managing dsu Projects, Designating the default project)
Default: "default"