Coder Social home page Coder Social logo

Comments (4)

brendanfalk avatar brendanfalk commented on August 23, 2024 1

Ohhhh, I see problem.

You will need to remove Fig's SSH integration from your ~/.ssh/config file. We append the below to the top of your file:

# Fig SSH Integration: Enabled
Host *
    ControlPath ~/.ssh/%r@%h:%p
    ControlMaster auto
    ControlPersist 1
    PermitLocalCommand yes
    LocalCommand (fig bg:ssh ~/.ssh/%r@%h:%p &)

@mattschrage We need to remove our SSH stuff from the install script!

My apologies, I misread your original post. I thought git push was just an example. But this makes sense as under the hood, git push/pull can use SSH

from fig.

brendanfalk avatar brendanfalk commented on August 23, 2024

If you uninstall Fig, it deletes Fig's macOS app and CLI tool. Fig has asynchronous hooks set up after you execute a command that use the Fig CLI.

I believe what happened it you opened a new Terminal window which sourced the ~/.fig/fig.sh script. Then you uninstalled Fig, but because that script had already been sourced, the Fig commands remained in your current terminal session.

If you open a new terminal session, Fig should be gone, correct?

Two fixes for this:

  1. Make the error output of the Fig commands go to /dev/null
  2. Set a popup on uninstall that tells you Fig will still be active in existing terminals

from fig.

ggrelet avatar ggrelet commented on August 23, 2024

If you open a new terminal session, Fig should be gone, correct?

Unfortunately that's not the case... I tried with several new terminal windows. I even reboot my laptop.

Moreover I see the exact same problem when using ssh:

localhost $ ssh [email protected]
Password:
zsh:1: command not found: fig
remoteconsole $ logout
Shared connection to XX.XX.XX.XX closed.

from fig.

ggrelet avatar ggrelet commented on August 23, 2024

That was it, thanks for your support!

from fig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.