This repository was archived by the owner on Mar 13, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 64
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Pressing up when autocomplete modal is showing doesn't go back a command if it is a directory #2214
Copy link
Copy link
Open
Labels
type:bugSomething isn't workingSomething isn't working
Description
Checks
- I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
- I have run
fig doctorin the affected terminal session - I have run
fig restartand replicated the issue again
Operating system
macOS 13.1.0 (22C65)
Expected behaviour
Pressing up the arrow on the keyboard should keep going back through commands
Actual behaviour
Pressing the up arrow to use a recent command, a command like "cd $USER/project" can cause issues as the modal opens. Once the modal is open, pressing up does not do anything.
Steps to reproduce
Make /user/project directory and put two directories inside it
- type "cd $USER/project", and hit enter
- Notice the / missing on the project
- type "ls"
- press up three times, only 2 will do anything
Environment
fig-details:
- 2.11.0
hardware-info:
- model:
- model-id:
- chip-id: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
- cores: 4
- mem: 16.00 GB
os-info:
- macOS 13.1.0 (22C65)
environment:
- shell: /bin/zsh
- terminal: iterm
- cwd: /Users/thomas
- exe-path: /usr/local/bin/fig
- install-method: brew
- env-vars:
- FIGTERM_SESSION_ID: 708419d1-6cb8-44a7-b012-4f68b02e9f94
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.11.0
- PATH: /usr/local/bin:/Users/thomas/.composer/vendor/bin:/usr/local/opt/php@8.1/bin:/usr/local/opt/php@8.1/sbin:/usr/local/opt/php@8.1/bin:/Users/thomas/.docker/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/thomas/.fig/bin:/Users/thomas/.local/bin:/Users/thomas/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/Users/thomas/.antigen/bundles/romkatv/powerlevel10k:/Users/thomas/.composer/vendor/bin:/Users/thomas/.antigen/bundles/romkatv/powerlevel10k:/usr/local/opt/php@8.1/sbin:/Users/thomas/.fig/bin:/usr/local/opt/php@8.1/bin:/usr/local/etc/php@8.2/bin:/Users/thomas/.docker/bin:/Users/thomas/.local/bin:/Users/thomas/.antigen/bundles/robbyrussell/oh-my-zsh/lib
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.googlecode.iterm2
- FIG_PID: 29407
- FIG_SET_PARENT: 708419d1-6cb8-44a7-b012-4f68b02e9f94Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:bugSomething isn't workingSomething isn't working