From 41756df60bb71e7e1dfee4a425c09c7f282442ce Mon Sep 17 00:00:00 2001 From: oliverhnat Date: Wed, 5 Mar 2025 14:08:49 +0100 Subject: [PATCH] fix(commands): escape special characters in file names --- omz-custom/custom_commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omz-custom/custom_commands.sh b/omz-custom/custom_commands.sh index 9acf918..111f163 100755 --- a/omz-custom/custom_commands.sh +++ b/omz-custom/custom_commands.sh @@ -124,7 +124,7 @@ function cmple() { } function ccd() { - pwd | pbcopy + printf "%q" "$(pwd)" | pbcopy } alias tat="tmux attach -t"