diff --git a/Cargo.lock b/Cargo.lock index 9bbeb3a..7ab3455 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -683,7 +683,7 @@ dependencies = [ [[package]] name = "flyline" -version = "1.11.0" +version = "2.0.0" dependencies = [ "ansi-to-tui", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index fc10872..75f5e53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ multiple_crate_versions = { level = "allow", priority = 1 } [package] name = "flyline" -version = "1.11.0" +version = "2.0.0" edition.workspace = true rust-version.workspace = true publish = false diff --git a/README.md b/README.md index 26524de..104f029 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@
-[![CI](https://github.com/HalFrgrd/flyline/actions/workflows/ci.yml/badge.svg)](https://github.com/HalFrgrd/flyline/actions/workflows/ci.yml) -[![Latest Release](https://img.shields.io/github/v/release/HalFrgrd/flyline)](https://github.com/HalFrgrd/flyline/releases) +[![CI](https://github.com/aislopware/flyline/actions/workflows/ci.yml/badge.svg)](https://github.com/aislopware/flyline/actions/workflows/ci.yml) +[![Latest Release](https://img.shields.io/github/v/release/aislopware/flyline)](https://github.com/aislopware/flyline/releases) [![Built With Ratatui](https://ratatui.rs/built-with-ratatui/badge.svg)](https://ratatui.rs/) **A Bash plugin for modern command line editing.** -[![Demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_overview.gif)](https://github.com/HalFrgrd/evp) +[![Demo](https://github.com/aislopware/flyline/releases/download/assets/demo_overview.gif)](https://github.com/HalFrgrd/evp)
@@ -33,7 +33,7 @@ Flyline is similar to [ble.sh](https://github.com/akinomyoga/ble.sh) but is writ ### Who is it for? 1. You want an out-of-the-box great shell experience without the hassle of setting up half a dozen plugins, plugin managers, keyboard shortcuts, and startup scripts (any one of which might phone home). -2. You're a terminal power user who wants to fine-tune their shell experience by writing in a modern language like Rust. Flyline can be the starting platform for you; [contributions welcome](https://github.com/HalFrgrd/flyline/discussions)! +2. You're a terminal power user who wants to fine-tune their shell experience by writing in a modern language like Rust. Flyline can be the starting platform for you; [contributions welcome](https://github.com/aislopware/flyline/discussions)! # Installation @@ -59,7 +59,7 @@ Other platforms (Intel Macs, 32-bit, FreeBSD, …) can still [build from source] > Run this command in bash to download flyline and update your `.bashrc` to load the latest version. No need for `sudo`! ```bash -source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh) +source <(curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh) ``` On macOS you must first install a version of Bash that supports custom builtins: `brew install bash` @@ -89,7 +89,7 @@ path into interactive Bash; it does not modify `.bashrc` or run an installer. Add the input to your system flake: ```nixn -inputs.flyline.url = "github:HalFrgrd/flyline"; +inputs.flyline.url = "github:aislopware/flyline"; ``` Import the module and enable it in the NixOS configuration: @@ -107,7 +107,7 @@ For local development, use `nix develop`. Build the package with ### Download from releases -Download the latest `libflyline.so` for your system from [the releases page](https://github.com/HalFrgrd/flyline/releases). If you are on Linux, you probably want the `gnu` variant unless you know you are on a `musl` based Linux distro (e.g. Alpine, Chimera). +Download the latest `libflyline.so` for your system from [the releases page](https://github.com/aislopware/flyline/releases). If you are on Linux, you probably want the `gnu` variant unless you know you are on a `musl` based Linux distro (e.g. Alpine, Chimera). Then, in your `.bashrc` (or in your current Bash session): ```bash enable flyline 2>/dev/null || enable -f /path/to/libflyline.so flyline @@ -164,7 +164,7 @@ Flyline supports dynamic content in `PS1`, `RPS1` / `RPROMPT`, `PS1_FILL`, `PROM ## PS1 The `PS1` environment variable sets the left prompt just like normal. See [Bash prompt documentation](https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html), [Arch Linux wiki](https://wiki.archlinux.org/title/Bash/Prompt_customization), or [Starship](https://starship.rs/) for more information. -[![PS1 demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_prompts_ps1.gif)](https://github.com/HalFrgrd/evp) +[![PS1 demo](https://github.com/aislopware/flyline/releases/download/assets/demo_prompts_ps1.gif)](https://github.com/HalFrgrd/evp) ```bash PS1='\u@\h:\w$ ' PS1='\u@\h:\w\n$ ' @@ -176,7 +176,7 @@ PS1='\e[01;32m\u@\h\e[00m:\e[01;34m\w\e[00m\n$ ' ## RPS1 / RPROMPT The `RPS1` / `RPROMPT` variable sets the right prompt similarly to Zsh. -[![RPS1 demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_prompts_rps1.gif)](https://github.com/HalFrgrd/evp) +[![RPS1 demo](https://github.com/aislopware/flyline/releases/download/assets/demo_prompts_rps1.gif)](https://github.com/HalFrgrd/evp) ```bash RPS1='\t' RPS1='\t\n<' @@ -185,7 +185,7 @@ RPS1='\e[01;33m\t\n<\e[00m' ## PS1_FILL `PS1_FILL` fills the gap between the `PS1` and `RPS1` lines. -[![PS1_FILL demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_prompts_ps1_fill.gif)](https://github.com/HalFrgrd/evp) +[![PS1_FILL demo](https://github.com/aislopware/flyline/releases/download/assets/demo_prompts_ps1_fill.gif)](https://github.com/HalFrgrd/evp) ```bash PS1_FILL='-' PS1_FILL='🯁🯂🯃🮲🮳' # finger pointing to running man @@ -194,7 +194,7 @@ PS1_FILL='🯁🯂🯃🮲🮳 \D{%.3f}' ## PROMPT_RULER `PROMPT_RULER` (or `PS1_RULER`) draws a horizontal separator above the prompt to cleanly separate previous command output from the new prompt. -[![PROMPT_RULER demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_prompts_prompt_ruler.gif)](https://github.com/HalFrgrd/evp) +[![PROMPT_RULER demo](https://github.com/aislopware/flyline/releases/download/assets/demo_prompts_prompt_ruler.gif)](https://github.com/HalFrgrd/evp) ```bash # Draw a full-width line with a box-drawing character PROMPT_RULER='─' @@ -209,7 +209,7 @@ PROMPT_RULER='empty-line' ## PS2 The `PS2` environment variable configures the multi-line continuation prompt. `FLYLINE_PROMPT_LINE_NUMBER` will be replaced by the line number: -[![PS2 demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_prompts_ps2.gif)](https://github.com/HalFrgrd/evp) +[![PS2 demo](https://github.com/aislopware/flyline/releases/download/assets/demo_prompts_ps2.gif)](https://github.com/HalFrgrd/evp) ```bash # Styled line numbers with ANSI color PS2='\e[2mFLYLINE_PROMPT_LINE_NUMBER>\e[0m ' @@ -225,7 +225,7 @@ PS2='\e[0m> ' ## Final (transient) prompts `PS1_FINAL`, `RPS1_FINAL`, `PS1_FILL_FINAL`, and `PROMPT_RULER_FINAL` let you configure transient prompts. When a command is submitted, Flyline performs a final redraw using these environment variables instead of their standard counterparts. This keeps your terminal scrollback history clean by replacing complex, multi-line prompts with a minimal version. -[![Final prompts demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_prompts_final.gif)](https://github.com/HalFrgrd/evp) +[![Final prompts demo](https://github.com/aislopware/flyline/releases/download/assets/demo_prompts_final.gif)](https://github.com/HalFrgrd/evp) ```bash PS1_FINAL='Ran at \D{%Y-%m-%d %H:%M:%S}> ' RPS1_FINAL='' @@ -280,7 +280,7 @@ The available widget types are `animation`, `mouse-mode`, `copy-buffer`, `custom Create your own animations with `flyline create-prompt-widget animation --name [your animation name here] [FRAMES]...`. Flyline will replace strings in the prompt matching the animation name with the animation: -[![Custom animation demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_custom_animation.gif)](https://github.com/HalFrgrd/evp) +[![Custom animation demo](https://github.com/aislopware/flyline/releases/download/assets/demo_custom_animation.gif)](https://github.com/HalFrgrd/evp) More examples can be found in [examples/animations.sh](examples/animations.sh). @@ -298,7 +298,7 @@ Examples: flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ ⣯ ⣟ ⡿ ⢿ ⣻ ⣽ flyline create-prompt-widget animation --name "john" --ping-pong --fps 5 '\e[33m\u' '\e[31m\u' '\e[35m\u' '\e[36m\u' -See https://github.com/HalFrgrd/flyline/blob/master/examples/animations.sh for more details and example usage. +See https://github.com/aislopware/flyline/blob/master/examples/animations.sh for more details and example usage. Usage: flyline create-prompt-widget animation [OPTIONS] --name [FRAMES]... @@ -433,7 +433,7 @@ RPS1=' FLYLINE_LAST_COMMAND_DURATION' Flyline can interact with your AI agent to suggest commands. This allows you to write a command in plain English and your agent will convert it into a Bash command: -[![Agent mode demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_agent_mode.gif)](https://github.com/HalFrgrd/evp) +[![Agent mode demo](https://github.com/aislopware/flyline/releases/download/assets/demo_agent_mode.gif)](https://github.com/HalFrgrd/evp) After setting up your agent with flyline, you can pass the buffer to your agent with Alt+Enter or simply Enter when your command starts with your trigger prefix (e.g. `ai: list files older than three days`). @@ -470,7 +470,7 @@ Note that you will need to have [set up completions in normal Bash first](https: ### Intellisense style auto suggestions Flyline can automatically start tab completion suggestions as you type. This demo shows auto-started suggestions, confirming a suggestion, dismissing with Escape, and submitting the command. -[![Auto tab completion demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_auto_tab_completion.gif)](https://github.com/HalFrgrd/evp) +[![Auto tab completion demo](https://github.com/aislopware/flyline/releases/download/assets/demo_auto_tab_completion.gif)](https://github.com/HalFrgrd/evp) This is similar to [inshellisense](https://github.com/microsoft/inshellisense) but uses Bash's completion system and runs in the same process as Bash. @@ -484,7 +484,7 @@ flyline suggestions --auto-suggest false --auto-suggest-inline true ### Fuzzy tab completion search When you're presented with suggestions, you can type to fuzzily search through the list: -[![Fuzzy path suggestions demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_fuzzy_suggestions.gif)](https://github.com/HalFrgrd/evp) +[![Fuzzy path suggestions demo](https://github.com/aislopware/flyline/releases/download/assets/demo_fuzzy_suggestions.gif)](https://github.com/HalFrgrd/evp) You can customize the fuzzy matching behavior using the `flyline suggestions set-fuzzy-mode` command. It accepts three options: - `all` (default): Fuzzy matching is enabled for all completion suggestions. @@ -494,7 +494,7 @@ You can customize the fuzzy matching behavior using the `flyline suggestions set ### Fuzzy path completion The last path segments from the cursor to the end will be fuzzily matched on the directory contents: -[![Fuzzy path suggestions demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_fuzzy_path_suggestions.gif)](https://github.com/HalFrgrd/evp) +[![Fuzzy path suggestions demo](https://github.com/aislopware/flyline/releases/download/assets/demo_fuzzy_path_suggestions.gif)](https://github.com/HalFrgrd/evp) ### Glob & extended glob (extglob) expansion Flyline automatically previews and expands standard globs (`*`, `?`, `[...]`, `[[:digit:]]`, `{a,b}`) and Bash [`extglob`s](https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Pattern-Matching-1): @@ -506,7 +506,7 @@ Flyline automatically previews and expands standard globs (`*`, `?`, `[...]`, `[ - `+(pat1|pat2)`: Matches one or more occurrences of the patterns (e.g. `ls +([0-9]).txt`) - Multi-segment directory extglobs: `ls src/@(app|grammar)/*.rs` -[![Glob & extglob auto completion demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_glob_expansion.gif)](https://github.com/HalFrgrd/evp) +[![Glob & extglob auto completion demo](https://github.com/aislopware/flyline/releases/download/assets/demo_glob_expansion.gif)](https://github.com/HalFrgrd/evp) > [!TIP] > **Required Bash Settings**: @@ -531,7 +531,7 @@ For instance, `ls $(grep --)` calls `grep`'s tab completion logic if it's s ### Dynamic descriptions If a suggestion contains a tab character, flyline displays the contents after the tab as a description. If there are multiple tab characters, flyline will animate each tab-delimited frame at 24fps. Try `flyline set-cursor --interpolate-easing ` for an example: -[![Tab completion easing demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_tab_completion_easing.gif)](https://github.com/HalFrgrd/evp) +[![Tab completion easing demo](https://github.com/aislopware/flyline/releases/download/assets/demo_tab_completion_easing.gif)](https://github.com/HalFrgrd/evp) ANSI styling is supported in descriptions: any ANSI colour/style escape codes embedded in the tab-separated description text will be rendered as ratatui styled spans. @@ -549,21 +549,21 @@ flyline suggestions --git-ref-mtime [true|false] ### Automatic completion synthesis (flycomp) If a command lacks a completion script, flyline can invoke [flycomp](https://github.com/HalFrgrd/flycomp) to dynamically synthesize one by parsing its `--help` outputs and man pages. You type the command name, press Tab, then flyline will prompt you to run flycomp to generate the completion spec: -[![Automatic completion synthesis demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_flycomp.gif)](https://github.com/HalFrgrd/evp) +[![Automatic completion synthesis demo](https://github.com/aislopware/flyline/releases/download/assets/demo_flycomp.gif)](https://github.com/HalFrgrd/evp) Flycomp settings are configurable with `flyline suggestions flycomp ...`. ### `LS_COLORS` styling Flyline styles your filename tab completion results according to `$LS_COLORS`: -[![LS_COLORS demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_ls_colors.gif)](https://github.com/HalFrgrd/evp) +[![LS_COLORS demo](https://github.com/aislopware/flyline/releases/download/assets/demo_ls_colors.gif)](https://github.com/HalFrgrd/evp) # Command history **Fuzzy history search:** Flyline offers a fuzzy history search similar to fzf or skim accessed with `Ctrl+R`: -[![Fuzzy history demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_fuzzy_history.gif)](https://github.com/HalFrgrd/evp) +[![Fuzzy history demo](https://github.com/aislopware/flyline/releases/download/assets/demo_fuzzy_history.gif)](https://github.com/HalFrgrd/evp) You can access a list of commands in the current Bash session that you Ctrl+C'd while editing using `Alt+R`. This is useful if you start writing a command, realise you want to run another command first, but you don't want to lose your first command. @@ -574,7 +574,7 @@ Inline suggestions show the most recent matching history entry as you type. - Accept one word at a time with `Ctrl+Right` (whitespace words) or `Alt+Right` (word parts, stopping at punctuation and path segments). - With the [JSONL history backend](#flyline-jsonl-history-backend), entries run in the current directory are preferred (`flyline editor --inline-history-prefer global|cwd`). -[![Inline history demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_inline_history.gif)](https://github.com/HalFrgrd/evp) +[![Inline history demo](https://github.com/aislopware/flyline/releases/download/assets/demo_inline_history.gif)](https://github.com/HalFrgrd/evp) **Scroll through prefix matches:** Pressing `Up` will scroll through history entries that are a prefix match with the current command. @@ -610,7 +610,7 @@ Flyline can configure the cursor styling, color, and interpolation/easing animat You can configure the style and animation effects using the `flyline set-cursor` command: -[![Cursor style demo](https://github.com/HalFrgrd/flyline/releases/download/assets/demo_cursor_style.gif)](https://github.com/HalFrgrd/evp) +[![Cursor style demo](https://github.com/aislopware/flyline/releases/download/assets/demo_cursor_style.gif)](https://github.com/HalFrgrd/evp) For example, to configure a custom color with elastic interpolation and fade effects: ```bash @@ -763,7 +763,7 @@ Options: -h, --help Print help (see a summary with '-h') -Read more at https://github.com/HalFrgrd/flyline +Read more at https://github.com/aislopware/flyline ``` diff --git a/crates/flybuffer/Cargo.toml b/crates/flybuffer/Cargo.toml index 759a709..a07caa5 100644 --- a/crates/flybuffer/Cargo.toml +++ b/crates/flybuffer/Cargo.toml @@ -5,7 +5,7 @@ edition.workspace = true rust-version.workspace = true description = "Simple text buffer library" license = "MIT" -repository = "https://github.com/HalFrgrd/flyline" +repository = "https://github.com/aislopware/flyline" keywords = ["readline", "line-editor", "terminal", "buffer"] categories = ["text-processing", "command-line-interface"] diff --git a/docker/PKGBUILD b/docker/PKGBUILD index 7dc4245..5905ca3 100644 --- a/docker/PKGBUILD +++ b/docker/PKGBUILD @@ -4,7 +4,7 @@ pkgver=1.5.0 pkgrel=1 pkgdesc="A Bash plugin to replace readline for a modern line editing experience" arch=('x86_64' 'aarch64') -url="https://github.com/HalFrgrd/flyline" +url="https://github.com/aislopware/flyline" license=('MIT' 'GPL-3.0-only') depends=('bash' 'glibc' 'libgcc') makedepends=('cargo') diff --git a/docker/install_test_alpine.Dockerfile b/docker/install_test_alpine.Dockerfile index 35e6beb..d3050a5 100644 --- a/docker/install_test_alpine.Dockerfile +++ b/docker/install_test_alpine.Dockerfile @@ -4,6 +4,6 @@ ARG FLYLINE_INSTALL_VERSION RUN apk add --no-cache gcc bash curl util-linux -RUN script -q -e -c "bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null +RUN script -q -e -c "bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/aislopware/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null RUN script -q -e -c "bash -i -c 'flyline --version'" /dev/null diff --git a/docker/install_test_arch.Dockerfile b/docker/install_test_arch.Dockerfile index e2ea5dc..3e0fef1 100644 --- a/docker/install_test_arch.Dockerfile +++ b/docker/install_test_arch.Dockerfile @@ -5,7 +5,7 @@ ARG FLYLINE_INSTALL_VERSION RUN pacman -Syu --noconfirm && \ pacman -S --noconfirm curl bash tar util-linux -RUN script -q -e -c "/bin/bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null +RUN script -q -e -c "/bin/bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/aislopware/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null # Run bash interactively to load flyline and test that it doesn't crash/fail on Arch Linux's strict dynamic linking environment RUN script -q -e -c "/bin/bash -i -c 'flyline --version'" /dev/null diff --git a/docker/install_test_termux.Dockerfile b/docker/install_test_termux.Dockerfile index d218a84..fadb00e 100644 --- a/docker/install_test_termux.Dockerfile +++ b/docker/install_test_termux.Dockerfile @@ -2,6 +2,6 @@ FROM termux/termux-docker:latest ARG FLYLINE_INSTALL_VERSION -RUN script -q -e -c "/data/data/com.termux/files/usr/bin/bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null +RUN script -q -e -c "/data/data/com.termux/files/usr/bin/bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/aislopware/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null RUN script -q -e -c "/data/data/com.termux/files/usr/bin/bash -i -c 'flyline --version'" /dev/null diff --git a/docker/install_test_ubuntu.Dockerfile b/docker/install_test_ubuntu.Dockerfile index 945da7d..8fbdb89 100644 --- a/docker/install_test_ubuntu.Dockerfile +++ b/docker/install_test_ubuntu.Dockerfile @@ -6,6 +6,6 @@ ARG FLYLINE_INSTALL_VERSION RUN apt-get update && apt-get install -y curl util-linux && rm -rf /var/lib/apt/lists/* -RUN script -q -e -c "/bin/bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null +RUN script -q -e -c "/bin/bash -i -c 'FLYLINE_INSTALL_VERSION=${FLYLINE_INSTALL_VERSION} source <(curl -sSfL https://github.com/aislopware/flyline/releases/download/${FLYLINE_INSTALL_VERSION}/install.sh)'" /dev/null RUN script -q -e -c "/bin/bash -i -c 'flyline --version'" /dev/null diff --git a/docs/installing_and_upgrading.md b/docs/installing_and_upgrading.md index 913799e..27c2f3c 100644 --- a/docs/installing_and_upgrading.md +++ b/docs/installing_and_upgrading.md @@ -6,7 +6,7 @@ To install `flyline` for the first time, run the following command in your terminal: ```bash -source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh) +source <(curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh) ``` ### Arch Linux @@ -34,7 +34,7 @@ paru -S flyline Upgrading `flyline` to the latest version uses the exact same script. You simply re-run the `curl` command: ```bash -source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh) +source <(curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh) ``` ### Upgrade Notification @@ -80,5 +80,5 @@ To install version `v1.2.0` in a custom directory (`~/apps/lib`): ```bash export FLYLINE_INSTALL_DIR="~/apps/lib" export FLYLINE_INSTALL_VERSION="v1.2.0" -source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh) +source <(curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh) ``` diff --git a/install.sh b/install.sh index 49620e8..275bfff 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Flyline installer -# Usage: source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh) -# or: curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh | sh +# Usage: source <(curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh) +# or: curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh | sh # # NOTE FOR MAINTAINERS: # Both `source <(curl ...)` and traditional `curl ... | sh` (or `curl ... | bash`) MUST work @@ -28,7 +28,7 @@ expand_path() { esac } -REPO="HalFrgrd/flyline" +REPO="aislopware/flyline" if [ -n "${FLYLINE_INSTALL_DIR:-}" ]; then INSTALL_DIR="$(expand_path "$FLYLINE_INSTALL_DIR")" elif [ -n "${FLYLINE_LOAD_DIR:-}" ]; then diff --git a/nix/package.nix b/nix/package.nix index 8a6cab2..057e03a 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -66,7 +66,7 @@ rustPlatform.buildRustPackage { configurable keybindings and prompts. Enable it in an interactive shell with `enable -f ${placeholder "out"}/lib/libflyline. flyline`. ''; - homepage = "https://github.com/HalFrgrd/flyline"; + homepage = "https://github.com/aislopware/flyline"; license = lib.licenses.gpl3Plus; platforms = lib.platforms.unix; }; diff --git a/src/app/mod.rs b/src/app/mod.rs index 64c1043..05cb27c 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -2030,7 +2030,7 @@ impl<'a> App<'a> { Some(cmd), ), None => ( - "Agent mode is not configured. Run `flyline set-agent-mode --help` or see https://github.com/HalFrgrd/flyline#agent-mode".to_string(), + "Agent mode is not configured. Run `flyline set-agent-mode --help` or see https://github.com/aislopware/flyline#agent-mode".to_string(), setup_cmd, ) } diff --git a/src/bash_builtin.rs b/src/bash_builtin.rs index 461192c..b6cabdf 100644 --- a/src/bash_builtin.rs +++ b/src/bash_builtin.rs @@ -35,7 +35,7 @@ extern "C" fn flyline_get_char() -> c_int { Err(_) => { // writing to stderr can panic if master pty side has been closed. report_stderr_no_panic( - "flyline: app panicked; recovering with EOF. Please create an issue with the steps to reproduce at https://github.com/HalFrgrd/flyline/issues.", + "flyline: app panicked; recovering with EOF. Please create an issue with the steps to reproduce at https://github.com/aislopware/flyline/issues.", ); report_error_no_panic("app panicked; recovering with EOF"); diff --git a/src/changelog.rs b/src/changelog.rs index fcf8b5e..159c429 100644 --- a/src/changelog.rs +++ b/src/changelog.rs @@ -120,6 +120,12 @@ pub(crate) const CHANGELOG: &str = r#"# Changelog ## v1.11.0 (2026-11-16) - **Directory-aware inline suggestions**: Inline history suggestions prefer commands previously run in the current directory with the JSONL history backend (`flyline editor --inline-history-prefer`). - **Word-part movement actions**: Added `Strict` and `FarSide` word-part movement and selection actions (e.g. `moveRightOneWordPartStrict`, `moveRightOneWordPartFarSide`) to stop at all punctuation boundaries. + +## v2.0.0 (2026-11-23) +- **New home**: Releases, `install.sh` and `flyline upgrade` now come from aislopware/flyline, which continues HalFrgrd/flyline. +- **Supported platforms**: Linux (x86_64 and aarch64; glibc 2.34+ or musl), macOS on Apple silicon (11+) and Android aarch64 (Termux), with bash 4.4 or newer. Builds for Intel macOS, 32-bit, FreeBSD, RISC-V, PowerPC and bash older than 4.4 are no longer published; build from source if you need one. +- **Emoji rendering**: Text after an emoji with a variation selector (such as ❤️) is no longer dropped when the line is redrawn. +- **Up-to-date foundations**: Built with Rust 1.100 on the latest ratatui, termina and skim, with dependencies refreshed and audited. "#; pub(crate) fn pretty_changelog() -> String { diff --git a/src/cli.rs b/src/cli.rs index 2b5b0ee..2a06119 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -97,7 +97,7 @@ fn parse_idle_frame_rate(s: &str) -> Result { name = "flyline", styles = get_styles(), color = clap::ColorChoice::Auto, - after_help = "Read more at https://github.com/HalFrgrd/flyline", + after_help = "Read more at https://github.com/aislopware/flyline", )] struct FlylineArgs { /// Show version information @@ -377,7 +377,7 @@ enum Commands { /// --command 'copilot --reasoning-effort low --prompt' /// flyline set-agent-mode --trigger-prefix ": " --command 'copilot --reasoning-effort low --prompt' /// - /// See https://github.com/HalFrgrd/flyline/blob/master/examples/agent_mode.sh for more details and example usage. + /// See https://github.com/aislopware/flyline/blob/master/examples/agent_mode.sh for more details and example usage. #[command( name = "set-agent-mode", verbatim_doc_comment, @@ -926,7 +926,7 @@ enum PromptWidgetSubcommands { /// flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ ⣯ ⣟ ⡿ ⢿ ⣻ ⣽ /// flyline create-prompt-widget animation --name "john" --ping-pong --fps 5 '\e[33m\u' '\e[31m\u' '\e[35m\u' '\e[36m\u' /// - /// See https://github.com/HalFrgrd/flyline/blob/master/examples/animations.sh for more details and example usage. + /// See https://github.com/aislopware/flyline/blob/master/examples/animations.sh for more details and example usage. #[command( name = "animation", verbatim_doc_comment, @@ -1872,9 +1872,9 @@ pub(crate) fn call(words: *const bash_symbols::WordList) -> c_int { Some(Commands::Upgrade) => { println!("Flyline is a purely offline piece of software. Please run:"); println!( - "source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh)" + "source <(curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh)" ); - settings.initial_buffer = Some("source <(curl -sSfL https://github.com/HalFrgrd/flyline/releases/latest/download/install.sh)".to_string()); + settings.initial_buffer = Some("source <(curl -sSfL https://github.com/aislopware/flyline/releases/latest/download/install.sh)".to_string()); } Some(Commands::Settings { all }) => { show_settings(&*settings, all); diff --git a/src/tutorial.rs b/src/tutorial.rs index c03443d..0c3e07d 100644 --- a/src/tutorial.rs +++ b/src/tutorial.rs @@ -807,7 +807,7 @@ pub fn generate_tutorial_text( ClipboardTypes::TutorialRunHelp, ), TaggedSpan::new( - Span::styled(" and https://github.com/HalFrgrd/flyline.", text_style), + Span::styled(" and https://github.com/aislopware/flyline.", text_style), Tag::Tutorial, ), ]));