Configuration
The configuration options in ATH provide a flexible way to tailor the toolβs behavior, giving you greater control over where and how commands are executed.
By default, the configuration file is stored in your home directory under ~/.athconfig
This configuration file lets you:
- Define the default working directory.
- Exclude certain directories (like
.git,.vscode,.idea) from being processed. - Configure timeouts to keep your workflows responsive and avoid stalled parallel tasks.
Available cfg Commands
π€οΈ cfg path
Prints the path to the current configuration file. Replaces ath pcp
π cfg file
Prints the contents of the current configuration file. Replaces ath pcf
π cfg here
Sets the current working directory as the default working directory for future fep commands, until it is changed or unset. Replaces ath swd
πΈ cfg away
Unsets the default working directory, allowing fep commands to run from the current working directory. Replaces ath uwd
π« cfg ignore [folders...]
Adds specified folders to the permanently ignored list. These folders will be excluded from future fep operations. Replaces ath ignore
β
cfg heed [folders...] | --all
Removes specified folders from the permanently ignored list, or use --all to clear all ignored folders. Replaces ath unignore
β° cfg to [seconds]
Sets the given amount of time as a timeout for execution of parallel tasks. This is useful for keeping your workflows snappy, avoiding situations where tasks get stuck indefinitely.
β° cfg nto
Disables the timeout for task execution. This ensures that tasks are allowed to run as long as they need, even if they take a significant amount of time.
Examples
Use path to print the path to the current configuration file.
ath cfg path
Or file to print the contents of the current configuration file.
ath cfg file
Use here to set the current working directory as the default working directory for future fep commands, until it is changed or unset.
ath cfg here
Use away to unsets the default working directory, allowing fep commands to run from the current working directory.
ath cfg away
Ignore followed by space separated folder list adds specified folders to the permanently ignored list. These folders will be excluded from future fep operations.
ath cfg ignore .git .idea .vscode
To remove specified folders from the permanently ignored list use heed.
ath cfg heed .git .idea .vscode
Or use --all to clear all ignored folders.
ath cfg heed --all
Set the given amount of time as a timeout for execution of parallel tasks with to.
ath cfg to [sec]
Optionally, pass 0 to disable timeout.
ath cfg to 0
nto Disables timeout for task execution.
ath cfg nto