From dd28a51c27f78523e6bda7a761d426824ae4b4e7 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 10 Apr 2022 06:15:21 +0200 Subject: [PATCH] preserve all (including xattrs) with cp --- .config/zsh/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/aliases.zsh b/.config/zsh/aliases.zsh index b68d1a4..9ce0095 100644 --- a/.config/zsh/aliases.zsh +++ b/.config/zsh/aliases.zsh @@ -69,7 +69,7 @@ fi # Follow mode does not work with highlight. alias lessf='LESSOPEN="" less +F' -alias cp='cp --reflink=auto' # CoW copies if possible. +alias cp='cp --reflink=auto --preserve=all' alias ip='ip -color -brief'