From cc86a358d9a2459a4fd4f3fe38de848facd1c2f1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 25 Apr 2016 19:42:34 +0300 Subject: adjust_dotfiles_permissions: recursively --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 954a282..0e84ad9 100644 --- a/.bashrc +++ b/.bashrc @@ -208,7 +208,7 @@ nwx_dev2=172.28.19.60 nwx_dev3=172.28.19.61 adjust_dotfiles_permissions() { - pushd ~ && git ls-tree HEAD | cut -f 2 | xargs chmod 0600 && popd + pushd ~ && git ls-tree -r HEAD | cut -f 2 | xargs chmod 0600 && popd } alias trim_trailing_whitespace='sed --binary --in-place '"'"'s/[[:blank:]]*\(\r\?\)$/\1/'"'" -- cgit v1.2.3