You're viewing a single thread.
Why would you
pipeedit: redirect neofetch into your .bashrc?57 0 Replyso 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...
31 0 ReplyBut .bashrc is executed, not displayed.
Maybe they meant to say
echo neofetch >> ~/.bashrc
.30 0 ReplyIt 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
22 0 Replytrue!! i meant
echo neofetch >> .bashrc
17 0 ReplyWho's the true noob now? Smh
(/s)
7 0 Replyactually. i meant neofetch > bashrc, as in neofetch is better. checkmate
/s
8 0 Reply
It's a dangerous command because a single
>
destroys your.bashrc
.This is why you have a dotfiles repository, you noob!
3 0 Reply
That's a redirection, not a pipe.
10 0 ReplyGood catch.
3 0 Reply
Exactly, that's bloat
2 0 Reply