Context
- Stubbed a ::loadAliases method to stuff the Parser with alias defs.
This commit is contained in:
@@ -126,6 +126,7 @@ int Context::initialize (int argc, const char** argv)
|
|||||||
// Dump any existing values and load rc file.
|
// Dump any existing values and load rc file.
|
||||||
config.clear ();
|
config.clear ();
|
||||||
config.load (rc_file);
|
config.load (rc_file);
|
||||||
|
loadAliases ();
|
||||||
|
|
||||||
// The data location, Context::data_dir, is determined from the assumed
|
// The data location, Context::data_dir, is determined from the assumed
|
||||||
// location (~/.task), or set by data.location in the config file, or
|
// location (~/.task), or set by data.location in the config file, or
|
||||||
@@ -746,6 +747,11 @@ void Context::updateVerbosity ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
void Context::loadAliases ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Context::header (const std::string& input)
|
void Context::header (const std::string& input)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ private:
|
|||||||
void createDefaultConfig ();
|
void createDefaultConfig ();
|
||||||
void updateXtermTitle ();
|
void updateXtermTitle ();
|
||||||
void updateVerbosity ();
|
void updateVerbosity ();
|
||||||
|
void loadAliases ();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
std::string program;
|
std::string program;
|
||||||
|
|||||||
Reference in New Issue
Block a user