rename relish to flesh
This commit is contained in:
parent
415b1181fa
commit
9b447eb5b7
58 changed files with 252 additions and 245 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/* relish: versatile lisp shell
|
||||
* Copyright (C) 2021 Aidan Hahn
|
||||
/* Flesh: Flexible Shell
|
||||
* Copyright (C) 2021 Ava Affine
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
use {
|
||||
relish::{
|
||||
flesh::{
|
||||
ast::{
|
||||
eval, lex, run,
|
||||
Ctr, Seg, SymTable, Symbol,
|
||||
|
|
@ -51,7 +51,7 @@ use {
|
|||
};
|
||||
|
||||
#[cfg(feature="posix")]
|
||||
use relish::aux::{ShellState, check_jobs};
|
||||
use flesh::aux::{ShellState, check_jobs};
|
||||
#[cfg(feature="posix")]
|
||||
use nix::unistd;
|
||||
|
||||
|
|
@ -279,14 +279,14 @@ fn add_menu_keybindings(keybindings: &mut Keybindings) {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
const HIST_FILE: &str = "/.relish_hist";
|
||||
const CONFIG_FILE_DEFAULT: &str = "/.relishrc";
|
||||
const HIST_FILE: &str = "/.flesh_hist";
|
||||
const CONFIG_FILE_DEFAULT: &str = "/.fleshrc";
|
||||
const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
if env::args().count() > 1 &&
|
||||
env::args()
|
||||
.collect::<Vec<_>>()
|
||||
.contains(&"--version".to_string()) {
|
||||
println!("Relish {}", VERSION);
|
||||
println!("Flesh {}", VERSION);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -501,7 +501,7 @@ fn get_token_to_complete(line: &str, pos: usize) -> (String, bool, usize) {
|
|||
* closure as a signal handler. As of May 2023 there is no clear
|
||||
* way of doing such a thing.
|
||||
*
|
||||
* Luckily this data is only used within Relish, so we can simply
|
||||
* Luckily this data is only used within Flesh, so we can simply
|
||||
* rely on it only being read during the evaluation phase of the REPL.
|
||||
* This method will at least work for that. (ava)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue