Improve man pages with syntax highlighting & more

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 119

  • @A--_--M
    @A--_--M День назад +1

    The wallpaper is so comfy

  • @omarwhite3627
    @omarwhite3627 5 дней назад +2

    Been watching for a while, finally had to subscribe. I use macOS most of the time, but still learning a lot of useful stuff from you.

    • @BreadOnPenguins
      @BreadOnPenguins  5 дней назад +1

      Thanks for subbing, I appreciate it! macOS is unix-based after all, so many of the same things still apply :-)

  • @solitaryfox69
    @solitaryfox69 16 дней назад +15

    A cool thing about setting the man pager to neovim with
    `export MANPAGER="nvim --clean +Man!"`
    is that you can access the table of contents with `gO` in the manual while viewing it. Pretty handy to navigate through massive manuals, like the one of `tar`, for example.

    • @mananabanana
      @mananabanana 16 дней назад

      I like the --clean option but is there any way to just keep your theme while not loading any other plugin?

    • @catfan5618
      @catfan5618 16 дней назад +1

      @@mananabananaYou could use the -c or -cmd flag to execute the command to set your preferred color scheme.

    • @BreadOnPenguins
      @BreadOnPenguins  15 дней назад

      Thanks for mentioning! Very useful trick.

    • @solitaryfox69
      @solitaryfox69 14 дней назад +1

      @@mananabanana You can maintain a separate config directory where you may keep any third-party colour scheme file, or whichever plugin or extra commands you may want, and have
      ```bash
      alias nvim-temp='XDG_CONFIG_HOME=/config XDG_DATA_HOME=/data nvim'
      ```
      and then have `export MANPAGER="nvim-temp +Man!"` in your rc, and this instance of neovim should start with the plugin you prefer to have while viewing manpages.
      I haven't tried this, though, but it's worth a shot.

    • @mananabanana
      @mananabanana 14 дней назад

      @@solitaryfox69 @catfan5618 Thanks for the help guys. Going on from what you said I figured out that you can set NVIM_APPNAME to the name of the directory of your second config to open neovim with that.

  • @etcher6841
    @etcher6841 16 дней назад +11

    Today was the first really cold day here too. Thankfully we got all this outstanding content to keep us busy during the coming winter nights ! Thanks bread! 🤘

    • @BreadOnPenguins
      @BreadOnPenguins  16 дней назад

      Winter is coming! That's nice of you to say, no problem :-)

    • @xmvziron
      @xmvziron 16 дней назад

      Are you also from Europe? I was shocked at how cold it was, my hands were freezing all the way to school but I got there!

    • @etcher6841
      @etcher6841 16 дней назад

      @@xmvziron Indeed! Even though the numbers say it's not that cold yet, the stark contrast today was dire (both puns intended).

  • @VioletJewel1729
    @VioletJewel1729 16 дней назад +5

    I use :Man in neovim ^_^ hehe. Love learning new things from the kids. I already knew about bat, but this is helpful. Looking forward to the next video! ^_^

    • @BreadOnPenguins
      @BreadOnPenguins  15 дней назад +1

      Haha fair enough, glad I could share something useful! :-)

  • @occultsupport
    @occultsupport 14 дней назад +3

    wtf I was switching from fish to zsh and I was literally looking for this. I swear you're tracking my every move even after all the safeguards

  • @frogmanjack
    @frogmanjack 16 дней назад +5

    Who knew there was so many ways to make man pages not suck. Thanks Bread!

  • @infinitivez
    @infinitivez 16 дней назад +1

    Yay, youtube ate my comment again.
    Well good thing I found your video this morning, before I jumped to using most. I had just been looking up how to colorize man pages, among other things. Found out I should be using less this entire time, instead of more. Still not sure why more has been such a habit of mine. Less is by far superior

    • @xmvziron
      @xmvziron 16 дней назад +3

      Yeah, it really sucks. You could be writing a really good comment, and RUclips thinks it's bad or something and removes it...

    • @infinitivez
      @infinitivez 16 дней назад +1

      @@xmvziron Ya, I'm used to editing my comments now, just to be sure they took, and when I get an error after edit, I know they didn't. Just kind used to it. Can never tell exactly what word YT decides it'll take issue with 😆

    • @BreadOnPenguins
      @BreadOnPenguins  15 дней назад

      The same thing has happened to me and I've seen comments disappear when refreshing a page as well, thanks RUclips. Lol, thanks for the leaving the comment again though - I appreciate it!
      Less > more ;^) Glad you were able to get less set up instead!

  • @xmvziron
    @xmvziron 16 дней назад +1

    Oh wow. That wikiman tool looks very useful! I'm currently now daily driving Gentoo on my desktop, trying to learn more about it, and I find myself always consulting the Gentoo wiki constantly. This will make it much easier to get the information, and I don't even have to open a web browser! Kudos, Bread!

  • @motokokusanagi2675
    @motokokusanagi2675 16 дней назад +2

    Nice video! I'd love to see a video in the future of you showing a fresh install and setting up your system like this . Sorry if you already made it, I'm quite new to the channel ❤

    • @BreadOnPenguins
      @BreadOnPenguins  16 дней назад

      Thank you! I do have a couple vids on my channel actually for both a full arch install, and what to do afterwards to get started :)

  • @ProfessorLinux
    @ProfessorLinux 16 дней назад +3

    Awesome! I didn't know about Wikiman 😂 I've always just used apropos!

    • @BreadOnPenguins
      @BreadOnPenguins  15 дней назад +1

      Haha fair enough! Thanks for commenting :-)

  • @jorgel.2222
    @jorgel.2222 16 дней назад +1

    Hola Pan; ripgrep (rg) es fantástico al igual que bat.
    Hace años (+ de 20) que uso Linux y siempre descubro algo nuevo para la terminal, como el comando "tee" que hace unos meses descubrí , por citar un ejemplo.
    Los hábitos hacen que nos "encapsulemos" y solo hace falta un poco de curiosidad para que este sistema operativo, que es tan inmenso y maravilloso, nos sorprenda.
    Muy bueno lo que haces en el área de informática y magníficas las reflexiones y charlas en el bosque.
    Un saludo.

    • @BreadOnPenguins
      @BreadOnPenguins  15 дней назад

      Hello, thank you for suggesting ripgrep! It is a great utility and worth showcasing. You are completely correct - it's good to consider alternate ways to accomplish a goal, and to have an open mind to learning new commands.
      Thank you very much, and I appreciate your comment :-)

  • @theclient6251
    @theclient6251 11 дней назад +2

    Learned something as per usual. Thank you.

  • @Sluggernaut
    @Sluggernaut 16 дней назад +1

    Killer content after more killer content! WOW! The pace is amazing.

  • @varhin2369
    @varhin2369 10 дней назад +1

    Beautiful desktop wallpaper. Did you paint it yourself?
    This landscape reminds of my childhood in Polesie region, Belarus, very similar nature in winter :)

    • @BreadOnPenguins
      @BreadOnPenguins  9 дней назад

      It is by Alois Arnegger, called Sonnenuntergang am vereisten Bach. His paintings are gorgeous.
      It's very interesting you say that! Arnegger mostly painted in his home country of Austria, to my knowledge, but maybe this one was elsewhere. Or maybe it is just similar :-)

  • @ossuseryoutube
    @ossuseryoutube 15 дней назад +1

    So, admittedly, I'm a old, dumb guy who works in JunOS fairly often and I love the way that one can search through a line of potential commands using the question mark. I have limited, minimal success learning Linux through man pages. I have no doubt that is my fault but there are absolutely many ways that Linux could made more accessible to us "normies?" and that is one.

    • @BreadOnPenguins
      @BreadOnPenguins  14 дней назад +1

      I just looked up how the ? feature works, it'd be great to see that appearing on other distros. Seems super helpful. The more helpful and accessible programs are added to Linux, the more widespread adoption we'd see.

    • @ossuseryoutube
      @ossuseryoutube 14 дней назад

      @@BreadOnPenguins thank you for looking into that and responding :)

  • @karshPrime
    @karshPrime 15 дней назад +3

    some penguin species, like adelie and gentoo, have a peculiar behaviour known as "stone stealing". they collect stones, arrange them neatly, and then steal from their neighbours' piles, often while being watched

    • @BreadOnPenguins
      @BreadOnPenguins  15 дней назад

      That's really interesting, animal behavior is fascinating and I have not (yet!) had the chance to observe penguins in the wild. Sometimes you see similar stealing and dominance-establishing behaviors with birds caching seeds

    • @karshPrime
      @karshPrime 14 дней назад

      @@BreadOnPenguins ye i've only ever seen penguins in a zoo too

  • @RichardThomas341
    @RichardThomas341 16 дней назад +1

    Thanks, great stuff! I look forward to the next video, so I can learn more.

  • @BrokenKanuck
    @BrokenKanuck 16 дней назад +2

    Strongly recommend a heated wrist rest! It’s safer and warms the blood coming into your hands, which is way more effective.

  • @jack-spade5647
    @jack-spade5647 5 дней назад

    . ...is this the Hyprland experience video? . ...the candle vibes!!!

  • @bennockley
    @bennockley 13 дней назад +1

    , Very Intensive, beyond My Scope

  • @Ninjetika
    @Ninjetika 16 дней назад +1

    Super interesting content. I am new to Linux so I am trying to keep up 😅 Cool channel 😊

  • @TheLinuxCast
    @TheLinuxCast 12 дней назад +1

    Do you use pywal or pywal16? I just started using the second one since it's still being updated.

    • @BreadOnPenguins
      @BreadOnPenguins  11 дней назад

      I use pywal! I'll have another look at pywal16 - thanks for letting me know about it.

  • @slimesushi
    @slimesushi 16 дней назад +5

    can you do a video about pywall or how do you generate color pallets, thank you

    • @BreadOnPenguins
      @BreadOnPenguins  16 дней назад +2

      For sure, it is pywal and that vid is on the to-do list :^)

    • @bledleysworld
      @bledleysworld 16 дней назад +1

      @@BreadOnPenguins another vote for this! look forward to learning stuff from your vids, thanks :)

  • @Rudolfucius
    @Rudolfucius 9 дней назад +1

    Pro tips : Use finger less gloves to fight the cold and still type on your computer

    • @BreadOnPenguins
      @BreadOnPenguins  8 дней назад

      True, I should wear my outdoor gloves inside

  • @kev2020-z9s
    @kev2020-z9s 16 дней назад +1

    Thank you keep up the good work.

  • @whiskeylinux
    @whiskeylinux 16 дней назад +1

    Very cool, thanks for the info.

  • @bennockley
    @bennockley 13 дней назад +1

  • @mmkvhornet7522
    @mmkvhornet7522 4 дня назад +1

    good video

  • @danp8321
    @danp8321 16 дней назад +1

    Great video, thanks! Hope you're now feeling... toasty 🤣🤦🏻‍♂️

  • @googIesux
    @googIesux 13 дней назад +1

    I really like your taste in visual theming. Beautiful painting, but I'm a nature lover, so I bias that way.
    Good vid!

  • @vvieczorny
    @vvieczorny 15 дней назад +3

    wow, first luke smith woman distro

  • @PaulMason99
    @PaulMason99 16 дней назад +1

    Thanks for the video. I tried using the method using just less but it doesn't use the colours for bold or underline, just the pager prompt. The only way I got it to work was using the LESS_TERMCAP variables. I'm using OpenSUSE tumbleweed so it should be pretty recent versions. Any ideas?

    • @BreadOnPenguins
      @BreadOnPenguins  15 дней назад +1

      Hm, the only thing I can think of is that less may not universally support --use-color (and possibly the tab spacing options) on all distros, iirc I've heard of that before. Hope you can get it figured out - best of luck!

    • @PaulMason99
      @PaulMason99 7 дней назад

      @@BreadOnPenguins so in case anyone else sees this and has the same issue. The solution was to set MANROFFOPT="-c". This passes -c to groff which man uses to format its output. -c means something like "handle colors in the old way" where "the old way" is the way that works with less. The other way to do it is to set GROFF_NO_SGR=1 but that (potentially) affects things other than man.

  • @alaa_atwa
    @alaa_atwa 15 дней назад +2

    hey, thanks nerd 😃🥰

  • @chrisalupului
    @chrisalupului 16 дней назад +2

    Another great video, cheers!

  • @PragMero
    @PragMero 15 дней назад +1

    te quiero mucho linux girl

  • @YrmiZ
    @YrmiZ 16 дней назад +1

    Verjnuarmu

  • @Viken43
    @Viken43 16 дней назад +1

    Is wikiman not an archlinux package?

  • @dimitri-ee7qj
    @dimitri-ee7qj 13 дней назад

    are you left handed or is camera mirrored? if so, did you switch j/k with d/f?

  • @hatkeinebedeutung492
    @hatkeinebedeutung492 3 часа назад

    Why does everybody say tealdear was superior to tldr ?

  • @null11q
    @null11q 16 дней назад

    1:08 My tz is OMSK +6 and its definitely 1.30 at night. And Bread blinded me again.

    • @BreadOnPenguins
      @BreadOnPenguins  16 дней назад

      My bad lol I did get dark-mode themes for github & archwiki, this vid was recorded before then but future vids will have that. Have a good night

  • @timmygilbert4102
    @timmygilbert4102 14 дней назад

    I don't know what's man pages 😢

    • @yes-zr8qt
      @yes-zr8qt 8 дней назад

      Its the scared texts written by the ancients that explain how the world works

  • @etcher6841
    @etcher6841 16 дней назад +38

    But what about woman pages?

    • @doomcrimson1680
      @doomcrimson1680 16 дней назад +7

      Oh god please make this stop.

    • @Technopath47
      @Technopath47 16 дней назад +12

      Not just the man pages, but the woman pages, and the children pages too! They're manuals! I read them like manuals! I learned them!!!

    • @BreadOnPenguins
      @BreadOnPenguins  16 дней назад +14

      I feel like I see this joke on literally any video that mentions "man pages" LOL

    • @etcher6841
      @etcher6841 16 дней назад +8

      I apologize, y'all, I saw the blank comment section and panicked a bit...

    • @solitaryfox69
      @solitaryfox69 16 дней назад +4

      Use emacs.

  • @notafbihoneypot8487
    @notafbihoneypot8487 16 дней назад +1

    I just remembered the entire man page (syntax included) with my brain,
    I use Arch Btw

  • @PixelBoar
    @PixelBoar 15 дней назад +1

    Linux "man pages" feels incomplete in comparison to BSD's. In Linux they hint you in the right direction, you always have to use a search engine from there, whereas in BSD it is ALL there!

    • @BreadOnPenguins
      @BreadOnPenguins  14 дней назад +1

      I'll have to check out the BSD man pages then!

  • @compujohn96
    @compujohn96 15 дней назад +1

    Penguins poop every 20 mins. I wonder if they use cron for scheduling?

  • @TurntableTV
    @TurntableTV 17 часов назад +1

    The similarities between what Mental Outlaw recently posted and what you posted here are... strange. You might have a copycat, Bread.

    • @BreadOnPenguins
      @BreadOnPenguins  15 часов назад

      I saw that and did wonder for just a second if he had seen my vid! Either way, such is the curse of Linux content.. a single topic can only be covered in finite ways :-)

    • @hatkeinebedeutung492
      @hatkeinebedeutung492 3 часа назад

      Oh now i know where i heard that tealdear was best before - but aint nobody says why. I dont get it. Whats wrong be tldr?