From f353546a5934c68cf48b167aa8921a5a55913b6a Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 23 Dec 2022 16:58:12 +0100 Subject: [PATCH] feat(zsh): add a function to add a new Kitty icon --- zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zshrc b/zshrc index 5c9c28e..1b30bf7 100644 --- a/zshrc +++ b/zshrc @@ -101,6 +101,12 @@ function update () { sudo softwareupdate -i -a } +function replaceKittyLogo () { + cp ~/Dropbox/Software/Kitty/kitty-icon/kitty-dark.icns /Applications/kitty.app/Contents/Resources/kitty.icns + rm /var/folders/*/*/*/com.apple.dock.iconcache + killall Dock +} + # Delete all node_modules folders in a folder and subfolders function deleteNodeModules () { find . -name "node_modules" -type d -exec rm -rf '{}' +