Skip to content

Instantly share code, notes, and snippets.

@oliverhr
oliverhr / goodbye-docker-macos.sh
Created February 3, 2022 00:05
Tiny script to manually remove docker desktop from MacOS
#!/usr/bin/env sh
if [ "$EUID" -ne 0 ]; then
echo "Please run with 'sudo'"
exit
fi
LOGGED_USER=$(logname)
set -x
### Keybase proof
I hereby claim:
* I am oliverhr on github.
* I am oliverhr (https://keybase.io/oliverhr) on keybase.
* I have a public key ASDRdBHb-NhF_HM6hhEAsym22zsqBZi2ZJUJ_zXbHAFPVAo
To claim this, I am signing this object:
# ---------------------------------------
# geekster.zsh-theme
# https://github.com/oliverhr
# ---------------------------------------
local return_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)%{$reset_color%}"
function get_pwd(){
git_root=$PWD
while [[ $git_root != / && ! -e $git_root/.git ]]; do