mirror of
https://github.com/nushell/nushell.git
synced 2025-04-10 14:08:40 +02:00
remove $nu.keybinding-path (#4515)
This commit is contained in:
parent
8f5b857fcf
commit
9415352447
@ -646,7 +646,6 @@ pub fn eval_variable(
|
|||||||
config_path.push("nushell");
|
config_path.push("nushell");
|
||||||
|
|
||||||
let mut history_path = config_path.clone();
|
let mut history_path = config_path.clone();
|
||||||
let mut keybinding_path = config_path.clone();
|
|
||||||
|
|
||||||
history_path.push("history.txt");
|
history_path.push("history.txt");
|
||||||
|
|
||||||
@ -663,15 +662,6 @@ pub fn eval_variable(
|
|||||||
val: config_path.to_string_lossy().to_string(),
|
val: config_path.to_string_lossy().to_string(),
|
||||||
span,
|
span,
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: keybindings don't exist yet but lets add a file
|
|
||||||
// path for them to be stored in. It doesn't have to be yml.
|
|
||||||
keybinding_path.push("keybindings.yml");
|
|
||||||
output_cols.push("keybinding-path".into());
|
|
||||||
output_vals.push(Value::String {
|
|
||||||
val: keybinding_path.to_string_lossy().to_string(),
|
|
||||||
span,
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "plugin")]
|
#[cfg(feature = "plugin")]
|
||||||
|
Loading…
Reference in New Issue
Block a user