Skip to content

Terminal session freezes when I type rclone about with fig on #2102

Open

Description

@alpineyahoo

Checks

Operating system

macOS 14.0.0 (23A5337a)

Expected behaviour

I typed rclone about with fig on. Usually, fig suggestions work fine or otherwise can be suppressed by pushing the escape button. I expected fig to show my remote: or do nothing.

Actual behaviour

The terminal session got frozen after I typed rclone about with fig on. I did Ctrl-C or Ctrl-D in the frozen session, but that didn't work. After I ran fig quit and typed rclone about foobar:, that worked normally. The culprit is obvious.
I am not sure why this happens, but with my little knowledge, I suggest a scenario that my rclone.conf config file is encrypted and fig encountered trouble when accessing it to show suggestions for me.

Steps to reproduce

No response

Environment

fig-details:
  - 2.16.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 14.0.0 (23A5337a)
environment:
  - shell: /usr/local/Cellar/zsh/5.9/bin/zsh
  - terminal: terminal
  - cwd: /Users/******
  - exe-path: /usr/local/bin/fig
  - install-method: brew
  - env-vars:
    - DISPLAY: :0
    - FIGTERM_SESSION_ID: 4d592da8-6a76-4b4c-a96f-889ad3aa0e48
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.16.0
    - SHELL: /usr/local/bin/zsh
    - TERM: xterm-256color
    - ZDOTDIR: /Users/*****/.zsh
    - __CFBundleIdentifier: com.apple.Terminal
    - FIG_PID: 98536
    - FIG_SET_PARENT: 4d592da8-6a76-4b4c-a96f-889ad3aa0e48

Activity

  1. alpineyahoo commented on Sep 22, 2023

    @alpineyahoo
    Author

    It works fine after I decrypted the rclone.conf file with rclone config interactive manipulation. Now I solved the problem for my use, but the fig team might have to include a function in fig that fig can skip its suggestions when the file fig is trying to access is encrypted.

  2. mschrage commented on Sep 26, 2023

    @mschrage
    Member

    Hey @alpineyahoo! Thanks for reporting this. It looks like an issue with the rclone completion spec.

    Would you be open to making a PR?

  3. transferred this issue fromwithfig/figon Sep 26, 2023
  4. emiedonmokumo commented on Apr 9, 2026

    @emiedonmokumo

    Hi @mschrage , is this still open? Will like to make a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions