withfig / autocomplete

IDE-style autocomplete for your existing terminal & shell
https://fig.io
MIT License
24.6k stars 5.5k forks source link

Running brew uninstall fig fails #1486

Closed ryanlalchand closed 2 years ago

ryanlalchand commented 2 years ago

When I run brew uninstall fig, there's no uninstall script found:

==> Uninstalling Cask fig
==> Removing launchctl service io.fig.launcher
==> Removing launchctl service io.fig.uninstall
==> Removing launchctl service io.fig.dotfiles-daemon
==> Running uninstall script /Applications/Fig.app/Contents/MacOS/fig-darwin-universal
Error: uninstall script /Applications/Fig.app/Contents/MacOS/fig-darwin-universal does not exist.

Fig is gone from the Applications directory, and I removed the installer manually, but this persists

Below is the full debug output:

brew uninstall fig --debug
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/git-lfs.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pyenv.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gmp.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/macos-term-size.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xorgproto.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-database-tools.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mkcert.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxau.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libpng.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pixman.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxdmcp.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libuv.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/freetype.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpfr.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/brotli.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmatrix.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/neofetch.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongosh.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxcb.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/r.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lz4.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gcc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/screenresolution.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cairo.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ruby-build.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/c-ares.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/zlib.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libpthread-stubs.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/node@16.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libnghttp2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/fontconfig.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openblas.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/speedtest-cli.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxrender.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@3.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ca-certificates.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/zstd.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/tcl-tk.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/handbrake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxext.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/isl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.10.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/jpeg.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libx11.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/rbenv.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/git.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lzo.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/telnet.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/jpeg-turbo.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libmpc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/httrack.rb
==> Uninstalling Cask fig
==> Uninstalling Cask fig
==> Uninstalling artifacts
==> 4 artifacts defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x00007fc1298b5b40 @cask=#<Cask::Cask:0x00007fc12989d5b8 @token="fig", @sourcefile_path=#<Pathname:/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb>, @source="cask \"fig\" do\n  version \"1.0.57,450\"\n  sha256 \"1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490\"\n\n  url \"https://versions.withfig.com/fig%20\#{version.csv.second}.dmg\",\n      verified: \"versions.withfig.com/\"\n  name \"fig\"\n  desc \"Reimagine your terminal\"\n  homepage \"https://fig.io/\"\n\n  livecheck do\n    url \"https://versions.withfig.com/appcast.xml\"\n    strategy :sparkle\n  end\n\n  auto_updates true\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Fig.app\"\n  binary \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\", target: \"fig\"\n\n  uninstall script:\n                       {\n                         executable: \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\",\n                         args:       [\"app\", \"uninstall\"],\n                       },\n            launchctl:\n                       [\n                         \"io.fig.launcher\",\n                         \"io.fig.uninstall\",\n                         \"io.fig.dotfiles-daemon\",\n                       ],\n            quit:\n                       [\n                         \"com.mschrage.fig\",\n                         \"io.fig.input-method.cursor\",\n                       ]\n\n  zap trash: [\n    \"~/.fig\",\n    \"~/.fig.dotfiles.bak\",\n    \"~/Library/Application Support/com.mschrage.fig\",\n    \"~/Library/Application Support/fig\",\n    \"~/Library/Caches/com.mschrage.fig\",\n    \"~/Library/Caches/fig\",\n    \"~/Library/Preferences/com.mschrage.fig.*\",\n    \"~/Library/WebKit/com.mschrage.fig\",\n  ]\n\n  caveats <<~EOS\n    Please launch the Fig application to finish setup...\n  EOS\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x00007fc12989d518@/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb:1>, @default_config=#<Cask::Config:0x00007fc12989d4f0 @explicit={}>, @caskroom_path=#<Pathname:/usr/local/Caskroom/fig>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/fig/.metadata>, @config=#<Cask::Config:0x00007fc1298a7180 @explicit={}, @default={:languages=>["en-US"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/ryan/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/ryan/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/ryan/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/ryan/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/ryan/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/ryan/Library/Fonts>, :servicedir=>#<Pathname:/Users/ryan/Library/Services>, :input_methoddir=>#<Pathname:/Users/ryan/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/ryan/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/ryan/Library/Screen Savers>}, @env={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fc1298af8d0 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @token="fig", @version="1.0.57,450", @sha256=#<Checksum:0x00007fc1298af588 @hexdigest="1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490">, @url=#<URL::DSL:0x00007fc1298ae930 @uri=#<URI::HTTPS https://versions.withfig.com/fig%20450.dmg>, @verified="versions.withfig.com/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"versions.withfig.com/", :user_agent=>:default}>, @name=["fig"], @desc="Reimagine your terminal", @homepage="https://fig.io/", @livecheck=#<Livecheck:0x00007fc1298ae368 @package_or_resource=#<Cask::DSL:0x00007fc1298af8d0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=nil, @skip=false, @skip_msg=nil, @strategy=:sparkle, @url="https://versions.withfig.com/appcast.xml">, @livecheckable=true, @auto_updates=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/fig/1.0.57,450>, @caveats=#<Cask::DSL::Caveats:0x00007fc1298b4948 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @command=SystemCommand, @built_in_caveats={}, @custom_caveats=["Please launch the Fig application to finish setup...\n"], @discontinued=false>, @language_eval=nil>>, @dsl_args=[{:script=>{:executable=>"/Applications/Fig.app/Contents/MacOS/fig-darwin-universal", :args=>["app", "uninstall"]}, :launchctl=>["io.fig.launcher", "io.fig.uninstall", "io.fig.dotfiles-daemon"], :quit=>["com.mschrage.fig", "io.fig.input-method.cursor"]}], @directives={:script=>{:executable=>"/Applications/Fig.app/Contents/MacOS/fig-darwin-universal", :args=>["app", "uninstall"]}, :launchctl=>["io.fig.launcher", "io.fig.uninstall", "io.fig.dotfiles-daemon"], :quit=>["com.mschrage.fig", "io.fig.input-method.cursor"], :signal=>[]}>, #<Cask::Artifact::App:0x00007fc1298ad648 @cask=#<Cask::Cask:0x00007fc12989d5b8 @token="fig", @sourcefile_path=#<Pathname:/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb>, @source="cask \"fig\" do\n  version \"1.0.57,450\"\n  sha256 \"1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490\"\n\n  url \"https://versions.withfig.com/fig%20\#{version.csv.second}.dmg\",\n      verified: \"versions.withfig.com/\"\n  name \"fig\"\n  desc \"Reimagine your terminal\"\n  homepage \"https://fig.io/\"\n\n  livecheck do\n    url \"https://versions.withfig.com/appcast.xml\"\n    strategy :sparkle\n  end\n\n  auto_updates true\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Fig.app\"\n  binary \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\", target: \"fig\"\n\n  uninstall script:\n                       {\n                         executable: \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\",\n                         args:       [\"app\", \"uninstall\"],\n                       },\n            launchctl:\n                       [\n                         \"io.fig.launcher\",\n                         \"io.fig.uninstall\",\n                         \"io.fig.dotfiles-daemon\",\n                       ],\n            quit:\n                       [\n                         \"com.mschrage.fig\",\n                         \"io.fig.input-method.cursor\",\n                       ]\n\n  zap trash: [\n    \"~/.fig\",\n    \"~/.fig.dotfiles.bak\",\n    \"~/Library/Application Support/com.mschrage.fig\",\n    \"~/Library/Application Support/fig\",\n    \"~/Library/Caches/com.mschrage.fig\",\n    \"~/Library/Caches/fig\",\n    \"~/Library/Preferences/com.mschrage.fig.*\",\n    \"~/Library/WebKit/com.mschrage.fig\",\n  ]\n\n  caveats <<~EOS\n    Please launch the Fig application to finish setup...\n  EOS\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x00007fc12989d518@/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb:1>, @default_config=#<Cask::Config:0x00007fc12989d4f0 @explicit={}>, @caskroom_path=#<Pathname:/usr/local/Caskroom/fig>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/fig/.metadata>, @config=#<Cask::Config:0x00007fc1298a7180 @explicit={}, @default={:languages=>["en-US"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/ryan/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/ryan/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/ryan/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/ryan/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/ryan/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/ryan/Library/Fonts>, :servicedir=>#<Pathname:/Users/ryan/Library/Services>, :input_methoddir=>#<Pathname:/Users/ryan/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/ryan/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/ryan/Library/Screen Savers>}, @env={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fc1298af8d0 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @token="fig", @version="1.0.57,450", @sha256=#<Checksum:0x00007fc1298af588 @hexdigest="1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490">, @url=#<URL::DSL:0x00007fc1298ae930 @uri=#<URI::HTTPS https://versions.withfig.com/fig%20450.dmg>, @verified="versions.withfig.com/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"versions.withfig.com/", :user_agent=>:default}>, @name=["fig"], @desc="Reimagine your terminal", @homepage="https://fig.io/", @livecheck=#<Livecheck:0x00007fc1298ae368 @package_or_resource=#<Cask::DSL:0x00007fc1298af8d0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=nil, @skip=false, @skip_msg=nil, @strategy=:sparkle, @url="https://versions.withfig.com/appcast.xml">, @livecheckable=true, @auto_updates=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/fig/1.0.57,450>, @caveats=#<Cask::DSL::Caveats:0x00007fc1298b4948 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @command=SystemCommand, @built_in_caveats={}, @custom_caveats=["Please launch the Fig application to finish setup...\n"], @discontinued=false>, @language_eval=nil>>, @dsl_args=["Fig.app", {}], @source_string="Fig.app", @target_string="", @source=#<Pathname:/usr/local/Caskroom/fig/1.0.57,450/Fig.app>, @target=#<Pathname:/Applications/Fig.app>>, #<Cask::Artifact::Binary:0x00007fc1298b7a80 @cask=#<Cask::Cask:0x00007fc12989d5b8 @token="fig", @sourcefile_path=#<Pathname:/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb>, @source="cask \"fig\" do\n  version \"1.0.57,450\"\n  sha256 \"1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490\"\n\n  url \"https://versions.withfig.com/fig%20\#{version.csv.second}.dmg\",\n      verified: \"versions.withfig.com/\"\n  name \"fig\"\n  desc \"Reimagine your terminal\"\n  homepage \"https://fig.io/\"\n\n  livecheck do\n    url \"https://versions.withfig.com/appcast.xml\"\n    strategy :sparkle\n  end\n\n  auto_updates true\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Fig.app\"\n  binary \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\", target: \"fig\"\n\n  uninstall script:\n                       {\n                         executable: \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\",\n                         args:       [\"app\", \"uninstall\"],\n                       },\n            launchctl:\n                       [\n                         \"io.fig.launcher\",\n                         \"io.fig.uninstall\",\n                         \"io.fig.dotfiles-daemon\",\n                       ],\n            quit:\n                       [\n                         \"com.mschrage.fig\",\n                         \"io.fig.input-method.cursor\",\n                       ]\n\n  zap trash: [\n    \"~/.fig\",\n    \"~/.fig.dotfiles.bak\",\n    \"~/Library/Application Support/com.mschrage.fig\",\n    \"~/Library/Application Support/fig\",\n    \"~/Library/Caches/com.mschrage.fig\",\n    \"~/Library/Caches/fig\",\n    \"~/Library/Preferences/com.mschrage.fig.*\",\n    \"~/Library/WebKit/com.mschrage.fig\",\n  ]\n\n  caveats <<~EOS\n    Please launch the Fig application to finish setup...\n  EOS\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x00007fc12989d518@/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb:1>, @default_config=#<Cask::Config:0x00007fc12989d4f0 @explicit={}>, @caskroom_path=#<Pathname:/usr/local/Caskroom/fig>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/fig/.metadata>, @config=#<Cask::Config:0x00007fc1298a7180 @explicit={}, @default={:languages=>["en-US"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/ryan/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/ryan/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/ryan/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/ryan/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/ryan/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/ryan/Library/Fonts>, :servicedir=>#<Pathname:/Users/ryan/Library/Services>, :input_methoddir=>#<Pathname:/Users/ryan/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/ryan/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/ryan/Library/Screen Savers>}, @env={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fc1298af8d0 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @token="fig", @version="1.0.57,450", @sha256=#<Checksum:0x00007fc1298af588 @hexdigest="1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490">, @url=#<URL::DSL:0x00007fc1298ae930 @uri=#<URI::HTTPS https://versions.withfig.com/fig%20450.dmg>, @verified="versions.withfig.com/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"versions.withfig.com/", :user_agent=>:default}>, @name=["fig"], @desc="Reimagine your terminal", @homepage="https://fig.io/", @livecheck=#<Livecheck:0x00007fc1298ae368 @package_or_resource=#<Cask::DSL:0x00007fc1298af8d0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=nil, @skip=false, @skip_msg=nil, @strategy=:sparkle, @url="https://versions.withfig.com/appcast.xml">, @livecheckable=true, @auto_updates=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/fig/1.0.57,450>, @caveats=#<Cask::DSL::Caveats:0x00007fc1298b4948 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @command=SystemCommand, @built_in_caveats={}, @custom_caveats=["Please launch the Fig application to finish setup...\n"], @discontinued=false>, @language_eval=nil>>, @dsl_args=["/Applications/Fig.app/Contents/MacOS/fig-darwin-universal", {:target=>"fig"}], @source_string="/Applications/Fig.app/Contents/MacOS/fig-darwin-universal", @target_string="fig", @source=#<Pathname:/Applications/Fig.app/Contents/MacOS/fig-darwin-universal>, @target=#<Pathname:/usr/local/bin/fig>>, #<Cask::Artifact::Zap:0x00007fc1298b4fb0 @cask=#<Cask::Cask:0x00007fc12989d5b8 @token="fig", @sourcefile_path=#<Pathname:/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb>, @source="cask \"fig\" do\n  version \"1.0.57,450\"\n  sha256 \"1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490\"\n\n  url \"https://versions.withfig.com/fig%20\#{version.csv.second}.dmg\",\n      verified: \"versions.withfig.com/\"\n  name \"fig\"\n  desc \"Reimagine your terminal\"\n  homepage \"https://fig.io/\"\n\n  livecheck do\n    url \"https://versions.withfig.com/appcast.xml\"\n    strategy :sparkle\n  end\n\n  auto_updates true\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Fig.app\"\n  binary \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\", target: \"fig\"\n\n  uninstall script:\n                       {\n                         executable: \"\#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal\",\n                         args:       [\"app\", \"uninstall\"],\n                       },\n            launchctl:\n                       [\n                         \"io.fig.launcher\",\n                         \"io.fig.uninstall\",\n                         \"io.fig.dotfiles-daemon\",\n                       ],\n            quit:\n                       [\n                         \"com.mschrage.fig\",\n                         \"io.fig.input-method.cursor\",\n                       ]\n\n  zap trash: [\n    \"~/.fig\",\n    \"~/.fig.dotfiles.bak\",\n    \"~/Library/Application Support/com.mschrage.fig\",\n    \"~/Library/Application Support/fig\",\n    \"~/Library/Caches/com.mschrage.fig\",\n    \"~/Library/Caches/fig\",\n    \"~/Library/Preferences/com.mschrage.fig.*\",\n    \"~/Library/WebKit/com.mschrage.fig\",\n  ]\n\n  caveats <<~EOS\n    Please launch the Fig application to finish setup...\n  EOS\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x00007fc12989d518@/usr/local/Caskroom/fig/.metadata/1.0.57,450/20220521132246.845/Casks/fig.rb:1>, @default_config=#<Cask::Config:0x00007fc12989d4f0 @explicit={}>, @caskroom_path=#<Pathname:/usr/local/Caskroom/fig>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/fig/.metadata>, @config=#<Cask::Config:0x00007fc1298a7180 @explicit={}, @default={:languages=>["en-US"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/ryan/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/ryan/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/ryan/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/ryan/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/ryan/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/ryan/Library/Fonts>, :servicedir=>#<Pathname:/Users/ryan/Library/Services>, :input_methoddir=>#<Pathname:/Users/ryan/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/ryan/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/ryan/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/ryan/Library/Screen Savers>}, @env={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fc1298af8d0 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @token="fig", @version="1.0.57,450", @sha256=#<Checksum:0x00007fc1298af588 @hexdigest="1e9830b1c3bbf160801289906b908ce1f4638c81b8ecb3ce9455710453bcc490">, @url=#<URL::DSL:0x00007fc1298ae930 @uri=#<URI::HTTPS https://versions.withfig.com/fig%20450.dmg>, @verified="versions.withfig.com/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"versions.withfig.com/", :user_agent=>:default}>, @name=["fig"], @desc="Reimagine your terminal", @homepage="https://fig.io/", @livecheck=#<Livecheck:0x00007fc1298ae368 @package_or_resource=#<Cask::DSL:0x00007fc1298af8d0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=nil, @skip=false, @skip_msg=nil, @strategy=:sparkle, @url="https://versions.withfig.com/appcast.xml">, @livecheckable=true, @auto_updates=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/fig/1.0.57,450>, @caveats=#<Cask::DSL::Caveats:0x00007fc1298b4948 @cask=#<Cask::Cask:0x00007fc12989d5b8 ...>, @command=SystemCommand, @built_in_caveats={}, @custom_caveats=["Please launch the Fig application to finish setup...\n"], @discontinued=false>, @language_eval=nil>>, @dsl_args=[{:trash=>["~/.fig", "~/.fig.dotfiles.bak", "~/Library/Application Support/com.mschrage.fig", "~/Library/Application Support/fig", "~/Library/Caches/com.mschrage.fig", "~/Library/Caches/fig", "~/Library/Preferences/com.mschrage.fig.*", "~/Library/WebKit/com.mschrage.fig"]}], @directives={:trash=>["~/.fig", "~/.fig.dotfiles.bak", "~/Library/Application Support/com.mschrage.fig", "~/Library/Application Support/fig", "~/Library/Caches/com.mschrage.fig", "~/Library/Caches/fig", "~/Library/Preferences/com.mschrage.fig.*", "~/Library/WebKit/com.mschrage.fig"], :signal=>[]}>}>
==> Uninstalling artifact of class Cask::Artifact::Uninstall
==> Removing launchctl service io.fig.launcher
/bin/launchctl list io.fig.launcher
/usr/bin/sudo -E -- /bin/launchctl list io.fig.launcher
==> Removing launchctl service io.fig.uninstall
/bin/launchctl list io.fig.uninstall
/usr/bin/sudo -E -- /bin/launchctl list io.fig.uninstall
==> Removing launchctl service io.fig.dotfiles-daemon
/bin/launchctl list io.fig.dotfiles-daemon
/usr/bin/sudo -E -- /bin/launchctl list io.fig.dotfiles-daemon
osascript -l JavaScript -e \'use\ strict\'\;'
''
'ObjC.import\(\'stdlib\'\)'
''
'function\ run\(argv\)\ \{'
'\ \ try\ \{'
'\ \ \ \ var\ app\ =\ Application\(argv\[0\]\)'
'\ \ \ \ if\ \(app.running\(\)\)\ \{'
'\ \ \ \ \ \ \$.exit\(0\)'
'\ \ \ \ \}'
'\ \ \}\ catch\ \(err\)\ \{\ \}'
''
'\ \ \$.exit\(1\)'
'\}'
' com.mschrage.fig
osascript -l JavaScript -e \'use\ strict\'\;'
''
'ObjC.import\(\'stdlib\'\)'
''
'function\ run\(argv\)\ \{'
'\ \ try\ \{'
'\ \ \ \ var\ app\ =\ Application\(argv\[0\]\)'
'\ \ \ \ if\ \(app.running\(\)\)\ \{'
'\ \ \ \ \ \ \$.exit\(0\)'
'\ \ \ \ \}'
'\ \ \}\ catch\ \(err\)\ \{\ \}'
''
'\ \ \$.exit\(1\)'
'\}'
' io.fig.input-method.cursor
==> Running uninstall script /Applications/Fig.app/Contents/MacOS/fig-darwin-universal
Error: uninstall script /Applications/Fig.app/Contents/MacOS/fig-darwin-universal does not exist.
/usr/local/Homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:304:in `uninstall_script'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:76:in `dispatch_uninstall_directive'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/uninstall.rb:15:in `block in uninstall_phase'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/uninstall.rb:14:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/uninstall.rb:14:in `uninstall_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:459:in `block in uninstall_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:456:in `uninstall_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:398:in `uninstall'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/uninstall.rb:44:in `block in uninstall_casks'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/uninstall.rb:39:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/uninstall.rb:39:in `uninstall_casks'
/usr/local/Homebrew/Library/Homebrew/cmd/uninstall.rb:75:in `uninstall'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'
ryanlalchand commented 2 years ago

whoops, wrong repo