Comments (5)
from fish-shell.
Thank you, I've merged the fix.
While that fixes the immediate issue, I will keep this bug open to track getting off of which entirely. which is not the correct way to determine if a command exists.
from fish-shell.
We could use the fish-function type instead:
type -P command-not-found > /dev/null
from fish-shell.
fish trunk does use type; I had switched away from it because I found 'type' to be quite expensive.
from fish-shell.
Not any more!
from fish-shell.
Related Issues (20)
- `{capitalize,downcase,upcase}-word` freeze fish and cause 100% CPU usage
- dnf completions lack config-manager subcommand HOT 5
- custom bindings are ignored when using vi key bindings HOT 1
- abbr and pipesign doesnt work as expected HOT 1
- Building fish failing on OpenSUSE Tumbleweed due to ncurses HOT 4
- set_color: Unknown color 'ff80' HOT 2
- `command` doesn't work properly when ran from a variable HOT 5
- Interrupted system call (open) not handled on redirection to fifo
- Tab completion inside braces insert text after closing brace
- add a rust-toolchain.toml to pin the rust version? HOT 1
- Buy a coffee / Donate? HOT 1
- Automatically quote URLs pasted to shell HOT 1
- Fish is not very usable within "win" dumb terminal emulator of Acme text editor HOT 2
- goood HOT 1
- SIGSEGV when running an executable with non-existent dynamic interpreter HOT 2
- No bind mode for search fields, and no way to make forward-char move the cursor HOT 9
- Make # path component char HOT 1
- Shell environment can't detect current directory being removed and recreated HOT 2
- builtin commands ignore redirects when printing man pages
- alias vi to neovide and something unexpected will happen. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fish-shell.