darcy to linuxmemes@lemmy.world • 2 years agocomputersh.itjust.worksimagemessage-square29fedilinkarrow-up128arrow-down10
arrow-up128arrow-down1imagecomputersh.itjust.worksdarcy to linuxmemes@lemmy.world • 2 years agomessage-square29fedilink
minus-squareraubarnolinkfedilink1•edit-22 years 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-square@Rodeo@lemmy.calinkfedilink1•2 years 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
This is why you have a dotfiles repository, you noob!