dotfiles
dotfiles copied to clipboard
Suggestion to use `date +%s` instead of '.bak'
In your bak function, you rename a file to ".bak", I humbly propose that you use the current time_t instead, since this gives you a "stack" instead.
It's pretty easy to get time_t on a modern unix system:
echo `date +%s`
https://github.com/shazow/dotfiles/blob/master/.bashrc#L95
I don't disagree but not a problem I run into often enough to warrant it. :) I aim for solving the 80-90% case, the rest I'm happy to do manually.