darcy@sh.itjust.works to linuxmemes@lemmy.world · 1 year agocomputersh.itjust.worksimagemessage-square19fedilinkarrow-up126arrow-down10
arrow-up126arrow-down1imagecomputersh.itjust.worksdarcy@sh.itjust.works to linuxmemes@lemmy.world · 1 year agomessage-square19fedilink
minus-squarelco@kbin.sociallinkfedilinkarrow-up3·1 year agoso 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…
minus-squareradix@lemm.eelinkfedilinkarrow-up1·1 year agoBut .bashrc is executed, not displayed. Maybe they meant to say echo neofetch >> ~/.bashrc.
minus-squareraubarno@lemmy.mllinkfedilinkarrow-up0·edit-21 year agoIt 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
minus-squaredarcy@sh.itjust.worksOPlinkfedilinkarrow-up1·1 year agotrue!! i meant echo neofetch >> .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)