rustfmt previous commit
This commit is contained in:
parent
dc6342bc74
commit
ca9f755d50
10 changed files with 144 additions and 123 deletions
|
|
@ -30,18 +30,18 @@ fn prompt_default_callback(_: &Seg, _: &mut SymTable) -> Result<Ctr, String> {
|
|||
/* loads defaults, evaluates config script */
|
||||
pub fn configure(filename: String, syms: &mut SymTable) -> Result<(), String> {
|
||||
/*syms.insert(
|
||||
"CFG_RELISH_POSIX".to_string(),
|
||||
Symbol {
|
||||
name: String::from("CFG_RELISH_POSIX"),
|
||||
args: Args::None,
|
||||
conditional_branches: false,
|
||||
docs: "variable holding whether or not POSIX job control functions are to be loaded.
|
||||
checked at shell startup by configuration daemon. not used afterwards.
|
||||
"CFG_RELISH_POSIX".to_string(),
|
||||
Symbol {
|
||||
name: String::from("CFG_RELISH_POSIX"),
|
||||
args: Args::None,
|
||||
conditional_branches: false,
|
||||
docs: "variable holding whether or not POSIX job control functions are to be loaded.
|
||||
checked at shell startup by configuration daemon. not used afterwards.
|
||||
|
||||
default value: not set".to_string(),
|
||||
value: ValueType::VarForm(Box::new(Ctr::String("0".to_string()))),
|
||||
},
|
||||
);*/
|
||||
default value: not set".to_string(),
|
||||
value: ValueType::VarForm(Box::new(Ctr::String("0".to_string()))),
|
||||
},
|
||||
);*/
|
||||
|
||||
syms.insert(
|
||||
"CFG_RELISH_ENV".to_string(),
|
||||
|
|
@ -66,7 +66,8 @@ default value: 1 (set)
|
|||
args: Args::None,
|
||||
conditional_branches: false,
|
||||
docs: "function called to output prompt. this function is called with no arguments.
|
||||
default value (<lambda>)".to_string(),
|
||||
default value (<lambda>)"
|
||||
.to_string(),
|
||||
value: ValueType::Internal(Rc::new(prompt_default_callback)),
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue