darcy@sh.itjust.works to linuxmemes@lemmy.world · 3年前computersh.itjust.worksimagemessage-square31fedilinkarrow-up139
arrow-up139imagecomputersh.itjust.worksdarcy@sh.itjust.works to linuxmemes@lemmy.world · 3年前message-square31fedilink
minus-squareraubarno@lemmy.mllinkfedilinkarrow-up2·edit-23年前It 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-squareRodeo@lemmy.calinkfedilinkarrow-up1·3年前 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' >> .bashrcorneofetch | sed -e 's:%:a:g' | sed -e "s:^\\(.*\\)$:printf '\1\\\\n':" >> .bashrcor something of that kind.EDIT: tested out the latter command
true!! i meant
echo neofetch >> .bashrcWho’s the true noob now? Smh
(/s)
This is why you have a dotfiles repository, you noob!