HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
PowerShell
PSReadLine
C#2013–2022
PowerShell / PSReadLine

PSReadLine

A bash inspired readline implementation for PowerShell

14Distinct people
19Mentions
0Explicit recommenders
4.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A bash inspired readline implementation for PowerShell

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 2:04:58 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year19 dated mentions

Observed mentions: 2013-11-22 03:10:30 UTC to 2022-04-09 20:19:50 UTC.

0123452013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20132014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC202
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC303
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC505
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC202
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC303
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC110

What Hacker News says

19 sources
The defaults come out of old CMD.EXE (bad) habits, so so yes are missing like a dozen years of Linux terminal UX experimentation/improvements. One particularly common advice with Powershell is to try PSReadLine for more bash-like versions of tab completion and other line editing things: https://github.com/PowerShell/PSReadLine As for common shortcuts, as mentioned elsewhere in this thread, Get-Alias (and Set-Alias) is a very useful tool.
In Linux and Powershell
This can get you a part of the way, extracted from my PowerShell profile: ## # PSReadLine, see https://github.com/PowerShell/PSReadLine ## ## behaviour of Tab key autocomplete Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete ## From docs: ## With these bindings, up arrow/down arrow will work like PowerShell/cmd if the ## current command line is blank. If you've entered some text though, it will ## search the history for commands that start with the currently entered text. ## ## Like zsh completion. Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward These will allow you to autocomplete previous commands from the tidpids you already types, so it no longer searches linearly through the histor
Read the rest
y. I also use: Import-Module posh-git Import-Module oh-my-posh Set-Theme Agnoster
In ZSH Aliases
I was just trying to get a release candidate of PowerShell 7 working on macOS and Windows yesterday. It was a frustrating experience, because many essential keybindings are broken out of the box on macOS (Terminal.app, iTerm2) and Windows (using the new Windows Terminal). For example: ctrl-space is the usual shortcut to trigger menu completion, doesn't work. It's not difficult to make custom keybindings once you figure this out, but many people's first encounter with PowerShell is going to be missing some critical UX features. Not a great situation. https://github.com/PowerShell/PSReadLine/issues/639 https://github.com/microsoft/terminal/issues/879
In PowerShell 7.0
Let me guess... You don't like the path completion? The only credible complaint I've heard against PowerShell terminal is path completion. I call it credible, because it's an actual behavioral difference with meaningful impact. Myself, I actually prefer the Windows path completion, where it fills the entire path and hitting tab again will cycle through the available options. Nothing drives me crazier than going into a directory generally knowing what I want, typing in a few letters, hit tab, get a subset of the path completed, think about what's there and where I want to go, figure out the next letter I need to type, hit tab again and hope for the best. When in reality there's only a few options that match my original text, and just hitting tab to cycle between them is pretty ergonomic. And shift-tab even cycles in the other direction, fo
Read the rest
r those rare times when there actually is a huge list and you hit tab a little too quickly. But for those who prefer the other way for some reason, there are projects like PSReadLine: https://github.com/lzybkr/PSReadLine EDIT: Found the previous discussion. https://news.ycombinator.com/item?id=11865516
In Microsoft leak reveals new Windows 10 Workstation edition for power users
Agreed regarding the default tab completion. You might check out PSReadLine at some point - see https://github.com/lzybkr/PSReadLine. Its goal is to try to emulate readline except in PowerShell (this includes tab completion as well as emacs shortcut keys... vim shortcut keys are in the works AFAIK). It does require some additional configuration and it isn't installed by default, but I think it helps with this specific scenario quite a bit.
In In defense of PowerShell
Yes, 120KB uncompressed. It is statically linked using the VS2013 toolchain. I test it on WindowsXP and use it on my Window7 dev machine. And yes, Powershell works as well. If you use PSReadLine, note that it sets the console to grab mouse events (like Far Manager does for example), so hold the override key (<ctrl>) when selecting or use RevokeMouseInput.ps1 script mentioned here: https://code.google.com/p/conemu-maximus5/issues/detail?id=1... see here as well https://github.com/lzybkr/PSReadLine/issues/197
In Cmder – Portable console emulator for Windows

Showing the 15 most recent of 19 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.