this post was submitted on 27 Sep 2023
434 points (96.2% liked)
linuxmemes
20880 readers
3 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why would you ~~pipe~~ edit: redirect neofetch into your .bashrc?
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...
But .bashrc is executed, not displayed.
Maybe they meant to say
echo neofetch >> ~/.bashrc
.It won't work. It's a dangerous command because a single
>
destroys your.bashrc
. You may want eitherecho 'neofetch' >> .bashrc
orneofetch | sed -e 's:%:a:g' | sed -e "s:^\\(.*\\)$:printf '\1\\\\n':" >> .bashrc
or something of that kind.EDIT: tested out the latter command
true!! i meant
echo neofetch >> .bashrc
Who's the true noob now? Smh
(/s)
actually. i meant neofetch > bashrc, as in neofetch is better. checkmate
/s
This is why you have a dotfiles repository, you noob!