mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 02:27:50 +02:00
Remove X11 requirement
This commit is contained in:
@ -184,7 +184,6 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
|
||||
whole_stream_command(SkipWhile),
|
||||
per_item_command(Enter),
|
||||
whole_stream_command(Exit),
|
||||
whole_stream_command(Clip),
|
||||
whole_stream_command(Autoview),
|
||||
per_item_command(Cpy),
|
||||
whole_stream_command(Date),
|
||||
@ -196,6 +195,13 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
|
||||
whole_stream_command(Version),
|
||||
whole_stream_command(Which),
|
||||
]);
|
||||
|
||||
#[cfg(feature = "clipboard")]
|
||||
{
|
||||
context.add_commands(vec![whole_stream_command(
|
||||
crate::commands::clip::clipboard::Clip,
|
||||
)]);
|
||||
}
|
||||
}
|
||||
let _ = load_plugins(&mut context);
|
||||
|
||||
|
Reference in New Issue
Block a user