Tagged Questions
14
votes
2answers
636 views
.bashrc overwritten but still sourced — how can it be recovered?
Usually when I find a command I want to alias, I echo it to my .bashrc like so:
[up button pressed to last command, then line edited so that it reads]
$echo "command-i-just-did" >> ~/.bashrc
...