mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:46:01 +02:00
move keybinding_path to nu-data (#2927)
This commit is contained in:
3
crates/nu-data/src/keybinding.rs
Normal file
3
crates/nu-data/src/keybinding.rs
Normal file
@ -0,0 +1,3 @@
|
||||
pub fn keybinding_path() -> Result<std::path::PathBuf, nu_errors::ShellError> {
|
||||
crate::config::default_path_for(&Some(std::path::PathBuf::from("keybindings.yml")))
|
||||
}
|
@ -2,6 +2,7 @@ pub mod base;
|
||||
pub mod command;
|
||||
pub mod config;
|
||||
pub mod dict;
|
||||
pub mod keybinding;
|
||||
pub mod primitive;
|
||||
pub mod types;
|
||||
pub mod utils;
|
||||
|
Reference in New Issue
Block a user