Improve man pages with syntax highlighting & more

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น •

  • @solitaryfox69
    @solitaryfox69 หลายเดือนก่อน +25

    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 หลายเดือนก่อน

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

    • @catfan5618
      @catfan5618 หลายเดือนก่อน +1

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      Thanks for mentioning! Very useful trick.

    • @solitaryfox69
      @solitaryfox69 หลายเดือนก่อน +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 หลายเดือนก่อน

      @@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.

  • @frogmanjack
    @frogmanjack หลายเดือนก่อน +7

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

  • @A--_--M
    @A--_--M หลายเดือนก่อน +7

    The wallpaper is so comfy

  • @etcher6841
    @etcher6841 หลายเดือนก่อน +12

    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  หลายเดือนก่อน

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

    • @xmvziron
      @xmvziron หลายเดือนก่อน

      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 หลายเดือนก่อน

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

  • @yelircaasi
    @yelircaasi 4 วันที่ผ่านมา +1

    Nice video. I feel fortunate to have stumbled upon this channel.

  • @VioletJewel1729
    @VioletJewel1729 หลายเดือนก่อน +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  หลายเดือนก่อน +1

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

  • @occultsupport
    @occultsupport หลายเดือนก่อน +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

  • @omarwhite3627
    @omarwhite3627 หลายเดือนก่อน +3

    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  หลายเดือนก่อน +1

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

  • @Sluggernaut
    @Sluggernaut หลายเดือนก่อน +1

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

  • @motokokusanagi2675
    @motokokusanagi2675 หลายเดือนก่อน +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  หลายเดือนก่อน

      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 :)

  • @theclient6251
    @theclient6251 หลายเดือนก่อน +2

    Learned something as per usual. Thank you.

  • @xmvziron
    @xmvziron หลายเดือนก่อน +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!

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      Glad to hear you found it useful! :-)

  • @infinitivez
    @infinitivez หลายเดือนก่อน +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 หลายเดือนก่อน +3

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

    • @infinitivez
      @infinitivez หลายเดือนก่อน +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  หลายเดือนก่อน

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

  • @RichardThomas341
    @RichardThomas341 หลายเดือนก่อน +1

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

  • @syrefaen
    @syrefaen 27 วันที่ผ่านมา +1

    bat-extras 3mb with bash scripts, nice!. Totaly forgat about those. That tldr rust clone tealdeer is a nice substitute to the man pages, it is linux comunity based man pages.

  • @jorgel.2222
    @jorgel.2222 หลายเดือนก่อน +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  หลายเดือนก่อน

      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 :-)

  • @bennockley
    @bennockley หลายเดือนก่อน +1

    , Very Intensive, beyond My Scope

  • @ProfessorLinux
    @ProfessorLinux หลายเดือนก่อน +3

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน +1

      Haha fair enough! Thanks for commenting :-)

  • @whiskeylinux
    @whiskeylinux หลายเดือนก่อน +1

    Very cool, thanks for the info.

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      No prob, glad you found it useful!

  • @kev2020-z9s
    @kev2020-z9s หลายเดือนก่อน +1

    Thank you keep up the good work.

  • @mnk4allcaps
    @mnk4allcaps 28 วันที่ผ่านมา +1

    Thank you

  • @BrokenKanuck
    @BrokenKanuck หลายเดือนก่อน +3

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      Nice suggestion, thanks :)

  • @BrotherSean
    @BrotherSean หลายเดือนก่อน +1

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน +1

      Thank you! Welcome to Linux :-)

  • @slimesushi
    @slimesushi หลายเดือนก่อน +5

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน +2

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

    • @bledleysworld
      @bledleysworld หลายเดือนก่อน +1

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

  • @varhin2369
    @varhin2369 หลายเดือนก่อน +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  หลายเดือนก่อน +1

      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 หลายเดือนก่อน +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  หลายเดือนก่อน +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 หลายเดือนก่อน

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

  • @TheLinuxCast
    @TheLinuxCast หลายเดือนก่อน +1

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

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

  • @googIesux
    @googIesux หลายเดือนก่อน +1

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

  • @karshPrime
    @karshPrime หลายเดือนก่อน +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  หลายเดือนก่อน

      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 หลายเดือนก่อน

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

  • @jack-spade5647
    @jack-spade5647 หลายเดือนก่อน

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

  • @chrisalupului
    @chrisalupului หลายเดือนก่อน +2

    Another great video, cheers!

  • @PaulMason99
    @PaulMason99 หลายเดือนก่อน +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  หลายเดือนก่อน +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 หลายเดือนก่อน

      @@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.

  • @ooze9808
    @ooze9808 18 วันที่ผ่านมา +1

    "when i was your age i had to warm my hands by candle light just to program"

  • @alaa_atwa
    @alaa_atwa หลายเดือนก่อน +2

    hey, thanks nerd 😃🥰

  • @mmkvhornet7522
    @mmkvhornet7522 หลายเดือนก่อน +1

    good video

  • @YrmiZ
    @YrmiZ หลายเดือนก่อน +1

    Verjnuarmu

  • @pfnlk6885
    @pfnlk6885 23 วันที่ผ่านมา +1

    Well GNU info is the one that's supposed to replace man pages with goodies like hyperlinks and colors but for some reason it's still not as popular

    • @BreadOnPenguins
      @BreadOnPenguins  22 วันที่ผ่านมา

      I'll have to review it at some point, thanks for mentioning!

  • @null11q
    @null11q หลายเดือนก่อน

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      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

  • @dimitri-ee7qj
    @dimitri-ee7qj หลายเดือนก่อน

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

  • @Rudolfucius
    @Rudolfucius หลายเดือนก่อน +1

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      True, I should wear my outdoor gloves inside

  • @Viken43
    @Viken43 หลายเดือนก่อน +1

    Is wikiman not an archlinux package?

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      Yup my bad, it's in Arch official repos

  • @danp8321
    @danp8321 หลายเดือนก่อน +1

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

  • @vvieczorny
    @vvieczorny หลายเดือนก่อน +3

    wow, first luke smith woman distro

  • @timmygilbert4102
    @timmygilbert4102 หลายเดือนก่อน

    I don't know what's man pages 😢

    • @yes-zr8qt
      @yes-zr8qt หลายเดือนก่อน

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

  • @bennockley
    @bennockley หลายเดือนก่อน +1

  • @hatkeinebedeutung492
    @hatkeinebedeutung492 หลายเดือนก่อน

    Why does everybody say tealdear was superior to tldr ?

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      It's a little bit faster but that's pretty much it. No huge differences :-)

  • @PragMero
    @PragMero หลายเดือนก่อน +1

    te quiero mucho linux girl

  • @etcher6841
    @etcher6841 หลายเดือนก่อน +63

    But what about woman pages?

    • @doomcrimson1680
      @doomcrimson1680 หลายเดือนก่อน +9

      Oh god please make this stop.

    • @Technopath47
      @Technopath47 หลายเดือนก่อน +19

      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  หลายเดือนก่อน +22

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

    • @etcher6841
      @etcher6841 หลายเดือนก่อน +11

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

    • @solitaryfox69
      @solitaryfox69 หลายเดือนก่อน +4

      Use emacs.

  • @notafbihoneypot8487
    @notafbihoneypot8487 หลายเดือนก่อน +1

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน +2

      >brain chair wojack

    • @notafbihoneypot8487
      @notafbihoneypot8487 หลายเดือนก่อน

      @BreadOnPenguins read this from the terminal

  • @jakub2631
    @jakub2631 12 วันที่ผ่านมา

    start using a gaming laptop and your hands will never be cold again

  • @PixelBoar
    @PixelBoar หลายเดือนก่อน +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  หลายเดือนก่อน +1

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

  • @pbezunartea
    @pbezunartea 14 วันที่ผ่านมา

    😲 are you real?

  • @compujohn96
    @compujohn96 หลายเดือนก่อน +1

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

  • @slimkid0225
    @slimkid0225 หลายเดือนก่อน

    Boy pages😂

  • @TurntableTV
    @TurntableTV หลายเดือนก่อน +1

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

    • @BreadOnPenguins
      @BreadOnPenguins  หลายเดือนก่อน

      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 หลายเดือนก่อน

      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?