awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
PowerShell avatar

PowerShell/PSReadLine

0
View on GitHub↗
4,306 星标·326 分支·C#·BSD-2-Clause·5 次浏览

PSReadLine

PSReadLine is a command line editor, completion engine, history manager, and syntax highlighter for the PowerShell console. It provides a bash-inspired line editing experience that enables advanced cursor movement and text manipulation within the terminal.

The project features a customizable input mapper for assigning keyboard shortcuts to specific actions and navigation logic. It includes a completion system that suggests matching commands through selectable menus or prefix-based matching.

The tool covers real-time color coding for command text and error notifications to improve readability. It manages the automatic persistence and retrieval of command history, allowing for interactive searching and filtering of previous entries. It also supports multi-line input editing and token-based cursor navigation.

Features

  • Console Experience Enhancements - Enhances the interactive PowerShell console experience with advanced text editing and real-time visual feedback.
  • Trie-Based Completions - Utilizes trie data structures for efficient prefix matching to provide command completion suggestions.
  • Line Editing Controls - Implements advanced cursor movement, token-based navigation, and undo/redo capabilities for a bash-inspired line editing experience.
  • Command History Managers - Provides a dedicated manager for automatically saving and interactively searching past PowerShell command entries.
  • Command Line Editors - Implements a bash-inspired line editor for the PowerShell console with advanced cursor movement and text manipulation.
  • Command-Line Input Completions - Ships a real-time suggestion engine for PowerShell command-line inputs using selectable menus and prefix matching.
  • Custom Key Mappings - Provides a system for defining custom keyboard shortcuts to personalize console navigation and command execution.
  • Command Key Bindings - Features a customizable mapper that associates keyboard shortcuts with internal editor functions and navigation logic.
  • Regex-Based Syntax Highlighting - Uses regular expressions to analyze the input buffer and apply real-time color coding to keywords and operators.
  • Terminal Syntax Highlighters - Applies real-time color coding and error notifications to command text within the terminal environment.
  • Input Event Bindings - Implements a configurable mapping system that links keyboard events to specific internal shell commands and actions.
  • Command History Persistence - Provides disk-based storage of user-entered commands to maintain history across different PowerShell sessions.
  • Code Syntax Highlighting - Applies real-time visual formatting and colors to command text based on PowerShell syntax rules.
  • Text Buffer Management - Maintains an in-memory representation of the current input line to support multi-line editing and undo operations.
  • Syntax Highlighters - Provides real-time color coding for command text and error notifications to improve console readability.
  • Command History Tools - Includes utilities for tracking, managing, and searching through the history of executed console commands.
  • Word-Boundary Navigation - Implements cursor navigation logic that identifies language-specific word boundaries rather than simple character offsets.
  • Multi-line Editing - Provides a bash-inspired input system capable of handling commands that span multiple lines.
  • Keyboard Shortcut Mappings - Allows users to map specific operations and navigation logic to custom keyboard shortcuts within the terminal.
  • Interactive History Navigators - Enables interactive recall and searching of persisted command history via keyboard shortcuts during a session.

Star 历史

powershell/psreadline 的 Star 历史图表powershell/psreadline 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

PSReadLine 的开源替代方案

相似的开源项目,按与 PSReadLine 的功能重合度排序。
  • lzybkr/psreadlinelzybkr 的头像

    lzybkr/PSReadLine

    4,304在 GitHub 上查看↗

    PSReadLine is a command line editor for PowerShell that provides advanced line editing and command history management. It functions as a suite of tools for enhancing the interactive shell experience through a Bash-inspired implementation of editing, completion, mapping, synchronization, and highlighting. The project includes an interactive completion engine for navigating suggestions via a menu system and a keyboard mapping tool for assigning shortcuts to custom actions. It also features a session history synchronizer that automatically saves and shares command history across multiple active

    C#
    在 GitHub 上查看↗4,304
  • c-bata/go-promptc-bata 的头像

    c-bata/go-prompt

    5,481在 GitHub 上查看↗

    go-prompt is a library for building interactive command-line interfaces in Go. It serves as a cross-platform console UI framework and terminal input manager, providing the tools necessary to capture user input and execute commands through a persistent interactive loop. The library features a dedicated auto-completion engine that provides real-time command suggestions. It also supports dynamic prompt prefixes updated via callback functions and a system for managing and recalling command history. The framework covers a broad range of terminal capabilities, including keyboard shortcut mapping,

    Goclicommand-lineinteractive
    在 GitHub 上查看↗5,481
  • prompt-toolkit/python-prompt-toolkitprompt-toolkit 的头像

    prompt-toolkit/python-prompt-toolkit

    10,498在 GitHub 上查看↗

    This project is a Python terminal user interface library and toolkit designed for building interactive command-line applications. It provides a terminal input manager and a widget toolkit for rendering dashboards, menus, and editors within a terminal emulator. The library enables the creation of full-screen terminal interfaces and interactive shells. It distinguishes itself with advanced input handling, including lexer-based syntax highlighting for visual feedback on code structure and support for industry-standard keyboard navigation modes such as Emacs and Vi. The capability surface covers

    Python
    在 GitHub 上查看↗10,498
  • sublimehq/packagessublimehq 的头像

    sublimehq/Packages

    3,004在 GitHub 上查看↗

    This repository contains a collection of extensions and configurations for a text editor plugin ecosystem. It provides a framework for adding language support and custom behavior through a system of customizable key bindings, a project indexing engine, and a syntax highlighting framework. The project utilizes a Python API to enable the development of custom plugins, menus, and tools. It supports a functional extension framework where users can create custom themes, syntax definitions, and resource overrides to expand the editor's visual styles and capabilities. The system covers advanced tex

    Shellsublimesublime-syntaxsublime-text
    在 GitHub 上查看↗3,004
查看 PSReadLine 的所有 30 个替代方案→

常见问题解答

powershell/psreadline 是做什么的?

PSReadLine is a command line editor, completion engine, history manager, and syntax highlighter for the PowerShell console. It provides a bash-inspired line editing experience that enables advanced cursor movement and text manipulation within the terminal.

powershell/psreadline 的主要功能有哪些?

powershell/psreadline 的主要功能包括:Console Experience Enhancements, Trie-Based Completions, Line Editing Controls, Command History Managers, Command Line Editors, Command-Line Input Completions, Custom Key Mappings, Command Key Bindings。

powershell/psreadline 有哪些开源替代品?

powershell/psreadline 的开源替代品包括: lzybkr/psreadline — PSReadLine is a command line editor for PowerShell that provides advanced line editing and command history management.… c-bata/go-prompt — go-prompt is a library for building interactive command-line interfaces in Go. It serves as a cross-platform console… prompt-toolkit/python-prompt-toolkit — This project is a Python terminal user interface library and toolkit designed for building interactive command-line… sublimehq/packages — This repository contains a collection of extensions and configurations for a text editor plugin ecosystem. It provides… hjlebbink/asm-dude — asm-dude is a Visual Studio extension designed for assembly language development and low-level programming. It… chrisant996/clink — Clink is a command line enhancer and shell extension for the Windows CMD terminal. It functions as a readline-style…