From 68fda2b3f6e1a5d8bb61d1aa2ad0470ce2397f20 Mon Sep 17 00:00:00 2001 From: Luna Komorebi Date: Sat, 8 Apr 2023 00:36:24 +0200 Subject: [PATCH] Add install function to silence coreutils install ugly messages --- install.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.zsh b/install.zsh index 01d9104..5d0c27d 100755 --- a/install.zsh +++ b/install.zsh @@ -1,6 +1,11 @@ #!/usr/bin/env zsh # env, because some OSes keep zsh in /bin (I'm looking at you, Alpine) +install() { + # screw you coreutils install and your ugly messages + command install -Dv $@ | grep -v removed +} + cp -v .zshrc $HOME if [ ! -d "${HOME}/.oh-my-zsh" ]; then echo "Installing OMZsh"