Comments (10)
XXX@abyss ~
λ uname -a
Linux abyss 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
XXX@abyss ~
λ where command
command: shell built-in command
XXX@abyss ~
λ \command \command
zsh: command not found: command
XXX@abyss ~
λ echo $ZSH_VERSION
5.8
XXX@abyss ~
λ echo $PATH |sed -e s/yyy/XXX/g
/home/XXX/.rbenv/shims:/home/XXX/.rbenv/bin:/home/XXX/.zinit/plugins/laggardkernel---git-ignore/bin:/home/XXX/.rbenv/shims:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/bin:/usr/local/sbin:/home/XXX/.zinit/plugins/dandavison---delta/delta:/home/XXX/.zinit/plugins/BurntSushi---ripgrep/rg:/home/XXX/.zinit/plugins/sharkdp---bat/bat:/home/XXX/.rbenv/bin:/home/XXX/.zinit/polaris/bin:/home/XXX/anaconda3/condabin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/XXX/Code/Go/bin:/home/XXX/.dotfiles/bin:/home/XXX/bin:/home/XXX/.zinit/plugins/unixorn---git-extra-commands/bin:/home/XXX/.zinit/plugins/zpm-zsh---colorize/bin:/home/XXX/.zinit/plugins/reegnz---jq-zsh-plugin/bin:/home/XXX/.zinit/plugins/droctothorpe---kubecolor/bin:/home/XXX/.zinit/plugins/zpm-zsh---tmux/bin:/home/XXX/.zinit/plugins/unixorn---git-extra-commands/bin:/home/XXX/.zinit/plugins/zpm-zsh---colorize/bin:/home/XXX/.zinit/plugins/reegnz---jq-zsh-plugin/bin:/home/XXX/.zinit/plugins/droctothorpe---kubecolor/bin:/home/XXX/.zinit/plugins/zpm-zsh---tmux/bin
from zsh-abbr.
➜ ~ uname -a
Linux pop-os 5.4.0-7626-generic #30158816988320.04~bbe668a-Ubuntu SMP Wed Apr 29 21:00:02 UTC x86_64 x86_64 x86_64 GNU/Linux
➜ ~ echo $ZSH_VERSION
5.8
➜ ~ where command
command: shell built-in command
➜ ~ echo $PATH | tr : '\n'
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
[others...]
from zsh-abbr.
Belatedly acknowledging more contributors in https://github.com/olets/zsh-abbr#community and https://zsh-abbr.olets.dev/community/
Would you like to be added @swrenn ? If so, I'll have the all-contributors bot open a pull request. Then I'll tag you in it to review for correct info
from zsh-abbr.
same for @seanb4t
from zsh-abbr.
Thanks for the report!
command
is one of the zsh builtin commands, so I would expect this to work as long as /usr/bin
has not been removed from your path.
What is the output of running these two commands in your terminal?
echo $PATH
# --
# edit: probably enough to specifically check whether /usr/bin is in PATH:
typeset -a path_segments=( ${(s.:.)"$(echo $PATH)"} ) && echo $path_segments[(I)/usr/bin]
and
where command
from zsh-abbr.
Also what system are you on? How about you @sean-brandt?
from zsh-abbr.
Thanks. Interesting, on macOS I get
% where command
command: shell built-in command
/usr/bin/command
I'll see what I can come up with.
from zsh-abbr.
Should be fixed in master
, let me know. Can cut a release for package manager users tomorrow
from zsh-abbr.
I just pulled and tested. No errors.
P.S. Thanks for building this extension.
from zsh-abbr.
Released in 3.3.1, and now I have a Linux testing setup so hope to catch little platform differences like this going forward.
Glad you find it useful!
EDIT 2024: this issue still gets some traffic. Maybe it's just bots and scrapers. If you are a human and get this bug still, please let me know.
from zsh-abbr.
Related Issues (20)
- `zsh-abbr` not working when the `viins` keymap is selected HOT 5
- abbr command completion
- [Bug report] bad math expression: operator expected at `Jan 1 03:...' HOT 4
- [feature] abbreviations may place the cursor anywhere in the expansion, instead of only at the end HOT 1
- [Bug report] Cannot programmatically delete abbreviations containing certain characters HOT 5
- fast-syntax-highlighting highlighting of multi-word abbreviations
- [Bug report] Terminal "freezes" when there is no abbreviations and highlights for user abbreviations are used with zsh-syntax-highlighting HOT 4
- Using zi/zinit's `sbin'**/eza -> ls'` to replace `ls` with `eza` breaks zsh-abbr initialization HOT 4
- [Feature] Prefixes 1/n: Ignored string prefixes
- [Feature] Prefixes 2/n: Ignored glob prefixes
- [Feature] Prefixes 3/n: linear combinations of prefixes
- [Bug] unexpected behavior when `ABBR_EXPANSION_CURSOR_MARKER` set to caret HOT 3
- acknowledge committers
- allcontributors 1/ HOT 2
- acknowledge bug reporters HOT 1
- `!` is escaped in v5, but wasn’t in v4 HOT 12
- `abbr c` does not clear abbreviations created with the pattern `abbr x=y` HOT 3
- Teach `add` about `--force`
- [Bug report] involuntary history filtering possible in combination with zsh-autosuggestions and v5.x HOT 11
- Conflict warning logged in all new sessions when adding an abbreviation in zshrc HOT 1
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 zsh-abbr.