aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.bashrc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-04-25 19:42:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-04-25 19:42:34 +0300
commitcc86a358d9a2459a4fd4f3fe38de848facd1c2f1 (patch)
treeca74760c019bd833d7e5c2d573cf661332c354cb /.bashrc
parentadd .gnupg/ (diff)
downloadlinux-home-cc86a358d9a2459a4fd4f3fe38de848facd1c2f1.tar.gz
linux-home-cc86a358d9a2459a4fd4f3fe38de848facd1c2f1.zip
adjust_dotfiles_permissions: recursively
Diffstat (limited to '')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
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/'"'"