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