fish-shell / fish-shell/fish-shell

keybinding behaves strangely

Open
#11,525 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Rust
Stars
34.2k
Forks
2.4k
Avg merge
2d 8h
Merged PRs (30d)
13

Description

I have a directory with 3 subdirectories:
```
bb
cc
OneDrive_1_5-23-2025
```

With `ls -al`, they all appear. I made a binding for this:

```
bind alt-l 'ls -al; commandline -f repaint'
```

It prints `bb` and `cc`, but `OneDrive_1_5-23-2025` is not shown! I don't get why.

I found a working solution though:

```
bind alt-l 'commandline -i "ls -al"; commandline -f execute'
```

But I don't understand what happens exactly. Could someone explain? Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.