changed package name from 'fern' to 'shed'

This commit is contained in:
2026-02-24 18:02:13 -05:00
parent 2f0cb931d6
commit 90e69f96d2
17 changed files with 130 additions and 130 deletions

View File

@@ -226,7 +226,7 @@ impl History {
let max_hist = crate::state::read_shopts(|s| s.core.max_hist);
let path = PathBuf::from(env::var("FERNHIST").unwrap_or({
let home = env::var("HOME").unwrap();
format!("{home}/.fern_history")
format!("{home}/.shed_history")
}));
let mut entries = read_hist_file(&path)?;
// Enforce max_hist limit on loaded entries

View File

@@ -101,7 +101,7 @@ pub enum ReadlineEvent {
Pending,
}
pub struct FernVi {
pub struct ShedVi {
pub reader: PollReader,
pub writer: Box<dyn LineWriter>,
@@ -120,7 +120,7 @@ pub struct FernVi {
pub needs_redraw: bool,
}
impl FernVi {
impl ShedVi {
pub fn new(prompt: Option<String>, tty: RawFd) -> ShResult<Self> {
let mut new = Self {
reader: PollReader::new(),

View File

@@ -23,7 +23,7 @@ use crate::{
sys::TTY_FILENO,
},
prompt::readline::keys::{KeyCode, ModKeys},
shopt::FernBellStyle,
shopt::ShedBellStyle,
state::read_shopts,
};
use crate::{