From 299bdcc3f2f862f45a43d9a0b2f662a9da66a7cf Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Fri, 10 Jul 2026 15:08:57 +0200 Subject: [PATCH] [ZSH] Gate safe wrappers behind shared config --- zsh/.zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index cfaa528..2a0a053 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -134,9 +134,11 @@ export LIBVIRT_DEFAULT_URI="qemu:///system" alias ls="ls --color=always" +if [ "$shared_config" -eq 0 ]; then # Use safecp/safemv from the tools-repo when available (( $+commands[safecp] )) && alias cp=safecp (( $+commands[safemv] )) && alias mv=safemv +fi delzip() { unzip -Z -1 "$@" | xargs -I{} rm -rf {}