Spyke
lemm.ee

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

61
lcoreply
kbin.social

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

34

But .bashrc is executed, not displayed.

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

37
raubarnoreply
lemmy.ml

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

24

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

/s

9

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

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

4
midwest.social

2GB dotfile repo

being lost without vim keybinds

Im_in_this_picture_and_I_dont_like_it.png

I use macOS btw

40

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

3
lemmy.ml

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.

23

i3 with debian, and xfce as alternative desktop environment for when you need someone else to use your machine(and also because xfce apps are nice).

1
Rodeoreply
lemmy.ca

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

5

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?

1

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

14
lemmy.world
  • 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
27
umbrarozereply
kbin.social

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

30
lemmy.world

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

5

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.

10
mander.xyz

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

6
darcyreply
sh.itjust.works

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

4

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

0