• R/O
  • SSH
  • HTTPS

yash: Commit


Commit MetaInfo

Revision4007 (tree)
Time2019-12-21 23:30:23
Authormagicant

Log Message

sample yashrc: Warn on crontab -r

Some users accidentally remove their crontab by typing "crontab -r" when
they intend to edit it by "crontab -e". To prevent unrecoverable loss,
a wrapper function for the crontab command is now installed in the
sample yashrc.

Change Summary

Incremental Difference

--- yash/trunk/NEWS (revision 4006)
+++ yash/trunk/NEWS (revision 4007)
@@ -12,6 +12,10 @@
1212
1313 * Line-editing no longer hangs when the terminfo database maps a
1414 key to an empty string.
15+ . Updated the sample initialization script (yashrc):
16+ + A wrapper function for the "crontab" command is now installed
17+ to prevent accidental removal by "crontab -r" where the user
18+ intends "crontab -e".
1519 . Updated completion scripts:
1620 + git-rebase: support new options in Git 2.24.0.
1721
Show on old repository browser