darcy@sh.itjust.works to linuxmemes@lemmy.world · 11 months agocomputersh.itjust.worksimagemessage-square47fedilinkarrow-up1454arrow-down118
arrow-up1436arrow-down1imagecomputersh.itjust.worksdarcy@sh.itjust.works to linuxmemes@lemmy.world · 11 months agomessage-square47fedilink
minus-squareraubarno 🇱🇹@lemmy.mllinkfedilinkarrow-up24·edit-211 months 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-up19·11 months agotrue!! i meant echo neofetch >> .bashrc
minus-squaredarcy@sh.itjust.worksOPlinkfedilinkarrow-up9·11 months agoactually. i meant neofetch > bashrc, as in neofetch is better. checkmate /s
minus-squareRodeo@lemmy.calinkfedilinkarrow-up4·11 months ago It’s a dangerous command because a single > destroys your .bashrc. This is why you have a dotfiles repository, you noob!
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!