this post was submitted on 27 Sep 2023
429 points (96.1% liked)

linuxmemes

21282 readers
1289 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    all 49 comments
    sorted by: hot top controversial new old
    [–] radix@lemm.ee 61 points 1 year ago* (last edited 1 year ago) (3 children)

    Why would you ~~pipe~~ edit: redirect neofetch into your .bashrc?

    [–] lco@kbin.social 33 points 1 year ago (2 children)

    so that everytime you launch a terminal, your neofetch data is displayed. Because wow, neofetch!!!

    It doesn't really make sense, since the data would be outdated anyway if piped into .bashrc that way...

    [–] radix@lemm.ee 37 points 1 year ago

    But .bashrc is executed, not displayed.

    Maybe they meant to say echo neofetch >> ~/.bashrc.

    [–] raubarno@lemmy.ml 24 points 1 year ago* (last edited 1 year ago) (2 children)

    It won't work. It's a dangerous command because a single > destroys your .bashrc. You may want either echo 'neofetch' >> .bashrc or neofetch | sed -e 's:%:a:g' | sed -e "s:^\\(.*\\)$:printf '\1\\\\n':" >> .bashrc or something of that kind.

    EDIT: tested out the latter command

    [–] darcy@sh.itjust.works 19 points 1 year ago (1 children)

    true!! i meant echo neofetch >> .bashrc

    [–] xan1242@lemmy.ml 8 points 1 year ago (1 children)

    Who's the true noob now? Smh

    (/s)

    [–] darcy@sh.itjust.works 9 points 1 year ago

    actually. i meant neofetch > bashrc, as in neofetch is better. checkmate

    /s

    [–] Rodeo@lemmy.ca 3 points 1 year ago

    It's a dangerous command because a single > destroys your .bashrc.

    This is why you have a dotfiles repository, you noob!

    [–] MonkderZweite@feddit.ch 11 points 1 year ago (1 children)

    That's a redirection, not a pipe.

    [–] radix@lemm.ee 4 points 1 year ago

    Good catch.

    [–] MigratingtoLemmy@lemmy.world 1 points 1 year ago

    Exactly, that's bloat

    [–] kibiz0r@midwest.social 39 points 1 year ago (1 children)

    2GB dotfile repo

    being lost without vim keybinds

    Im_in_this_picture_and_I_dont_like_it.png

    I use macOS btw

    [–] fmstrat@lemmy.nowsci.com 3 points 1 year ago (1 children)

    Also looking at my dotfiles repo...

    [–] dditty@lemm.ee 3 points 1 year ago

    This post is what is giving me the idea to finally set up a dotfiles repo for the first time.

    [–] CaptainBasculin@lemmy.ml 23 points 1 year ago (1 children)

    i had i3 run with no problems on some of the worst machines I had to use. I'll fight with anyone that claims i3 is bloat.

    [–] darcy@sh.itjust.works 13 points 1 year ago (1 children)
    [–] backhdlp@lemmy.blahaj.zone 18 points 1 year ago

    Average OpenBSD user

    OpenBSD users:

    [–] mattomattic@discuss.tchncs.de 17 points 1 year ago (1 children)

    Too smart for NixOS - LMAO! I bet this guy has a conky on his Blackbox.

    [–] Rodeo@lemmy.ca 5 points 1 year ago (1 children)

    Good old conky lol. Its like it was made to be a config playground, and the actual functionality was an afterthought.

    [–] mattomattic@discuss.tchncs.de 1 points 1 year ago

    Afterthought is an understatement. I didn't mind piping some of that info into an i3 status bar, but just a couple things. Who needs to watch all that distracting system stuff all the time. Using autocompletions on the command line would get that info quick enough. And whoever down voted my original comment - I'm laughing about it. Serious business right?

    [–] MonkderZweite@feddit.ch 14 points 1 year ago* (last edited 1 year ago) (2 children)

    Neofetch and NixOS are bloat.

    Arch's X setup sucks, sx is better.

    [–] Declamatie@mander.xyz 14 points 1 year ago (1 children)

    Also, 2 GB of dotfiles is bloat

    [–] MonkderZweite@feddit.ch 5 points 1 year ago* (last edited 1 year ago)

    Must be pretty bad spaghetti code.

    [–] QuazarOmega@lemy.lol 5 points 1 year ago (1 children)

    But I can't have sx if I use Linux ;(

    [–] MonkderZweite@feddit.ch 4 points 1 year ago (1 children)

    I do use sx in Arch, though?

    [–] QuazarOmega@lemy.lol 13 points 1 year ago

    It was just an attempt at a dumb stereotypical joke that Linux users don't have sex

    [–] SSUPII@sopuli.xyz 13 points 1 year ago (1 children)

    Almost and not always average Gentoo user

    [–] PropaGandalf@lemmy.world 26 points 1 year ago* (last edited 1 year ago) (2 children)
    • Has over 100 obscure USE flags he forgot what they do
    • Needs two days to configure his kernel and two more to compile it.
    • Uses ancient thinkpad
    • Uses lynx because firefox won't compile
    • Uses rusty old software because of "tradition"
    • Uptime ~30 years
    [–] umbraroze@kbin.social 30 points 1 year ago (1 children)

    Uptime ~30 years

    Too generous for Gentoo.

    "Maybe if I tweak the kernel config juuuuust a little bit today" "Is it just me or did this particular version of gcc make the kernel 0.0002% slower? I need to do some tests" "...Dunno, it just feels slower today, I guess I need to recompile the whole system"

    Uptime: 30 minutes, tops

    [–] PropaGandalf@lemmy.world 5 points 1 year ago (1 children)

    True I didn't take this into account. On the other hand we have systemd soft-reboot now.

    [–] netchami@sh.itjust.works 0 points 11 months ago (1 children)

    Gentoo users don't use systemd.

    [–] PropaGandalf@lemmy.world 2 points 11 months ago (1 children)

    Bold assumption you did here...

    [–] netchami@sh.itjust.works 2 points 11 months ago

    Most Gentoo users use OpenRC.

    [–] histic@lemmy.dbzer0.com 3 points 1 year ago

    you forgot the cooling pad it's on since the fans died like a decade ago

    [–] MigratingtoLemmy@lemmy.world 10 points 1 year ago* (last edited 1 year ago) (1 children)

    I write in POSIX shell as a matter of principle.

    My "dotfiles" repo is a few Kb in size.

    I am too dumb and lazy to try Nix.

    I do like using vim keybindings in my terminal.

    Neofetch is bloat, I wrote a script that shows some essential information when the machine starts and that's it.

    [–] darcy@sh.itjust.works 1 points 1 year ago
    [–] Andrew15_5@mander.xyz 6 points 1 year ago (1 children)

    Akchually, binary prefixes are the one and only correct prefixes for counting digital size of information (GiB instead of GB).

    [–] darcy@sh.itjust.works 4 points 1 year ago (1 children)

    acckshually, i dont use 'Giga' or 'Mega', i just use bits, in scientific notation: 2.0*10^9

    [–] Neon@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

    That wouldn't be 2 GB, that would be 2 Gb

    GB would be 2.0*10^9*8 bits

    [–] pewgar_seemsimandroid@lemmy.blahaj.zone 4 points 1 year ago (1 children)

    uhhh uhhh what's more bloated than windows 10 uhhhhhhhhhhhhhhhhh i honestly don't know

    [–] darcy@sh.itjust.works 6 points 1 year ago (1 children)

    nooo that has smaller icon's mabye windows 8 start screen

    [–] netchami@sh.itjust.works 2 points 11 months ago (1 children)

    If you do neofetch > .bashrc you will simply have a broken shell config. To add neofetch to the bashrc you need to use echo.

    [–] darcy@sh.itjust.works 0 points 11 months ago

    it is actually a 200 IQ meme. your average coomfiger doesnt know that much about shell scripting, but thinks they do.

    or something. i definitely didnt get it wrong myself

    [–] dot@sopuli.xyz 1 points 1 year ago* (last edited 1 year ago)
    
    #fetch
    
    nfetch() {
            echo ""
    	echo "$USER @ $(hostname)"
    	echo ""
    	echo "kernel : $(uname -r)"
    	echo "uptime : $(uptime -p)"
    	echo "pkgs   : $(dpkg -l | grep '^ii' | wc -l)"
    	echo "bat    : $(acpi -b | grep -Po '(?<=: ).*(?=,)' | tr -d '[:space:]') " 
    	# need to install acpi to run bat
    	echo ""
    }