home.social

#psreadline — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #psreadline, aggregated by home.social.

  1. Делаем PowerShell более удобным: настройка PsReadLine

    Привет, Хабр! Часто ли Вам приходится в сотый раз нажимать стрелку вверх в PowerShell для поиска нужной команды? Или, может быть, не замечать случайные опечатки в длинном пути? Сегодня мы превратим стандартную консоль в удобный инструмент с автодополнением и поиском по истории с помощью модуля PsReadLine, а главное - добавим нормальные функции Copy/Paste . Я поделюсь с Вами готовым конфигом, который сделает ежедневную работу в консоли быстрее и приятнее.

    habr.com/ru/articles/964840/

    #PowerShell #PsReadLine #Windows #Терминал #Модуль_для_PowerShell

  2. Testing #PowerShell on #FreeBSD can finally start!

    Already found the first issue ... it seems #PSReadline needs terminfo-db from ports installed to work correctly 🙄 -- port will be updated!

  3. And now, "staging" and packaging for #FreeBSD works as well 😎

    But this is just the "base" #Powershell with no bundled modules. Next step, find out how to build and bundle some "essential" Modules, e.g. #PSResourceGet and/or #PowerShellGet (for Install-Module), and #PSReadLine (for sane commandline editing and stuff) ... any more that absolutely NEED to be bundled? 🤔

  4. What if your shipped with Copilot?

    I'm still not sure if this is something I need or not, but I got Microsoft's CodexCLI working (again), just so I could show it off.

    This is how I want github CLI to integrate.

    I *do* like the explanations the current Copilot CLI gives, but I want this in the readline because I want to be able to edit the command I get back.

    i.imgur.com/8vbkF48.gif

    P.S. My working fork is at github.com/Jaykul/ReadlineAI

  5. @jamie @otterkring for what it's worth, I did convert it into something that worked for me.

    So I now have a function you can use in to syntax highlight arbitrary code roughly the way does it:

    github.com/Jaykul/EzTheme/comm