diff --git a/.bashrc b/.bashrc index 246f517902dc5bf0f57849a765681e619f2fdd93..6191c0829952daa3eeb065143e28c00f1f2348ab 100644 --- a/.bashrc +++ b/.bashrc @@ -203,6 +203,13 @@ ansible_all () { popd } +bak () { + for x in "$@" + do + cp --preserve=all --reflink=auto "$x" "${x}~" + done +} + black8() { black "$@" && flake8 "$@" }