Comments (5)
hmm looks like there is no hosts at all on my known_hosts list. Where did they go? :(
from ohmyzsh.
Your known_hosts file is hashed. There is no way zsh completion can guess the hostname with such file.
The solution is to add "HashKnownHosts no" to your ~/.ssh/config, prune the known_hosts file and populate it again (this time the hosts will be in clear text).
By the way, I don't see how your sed command can work. I expect you wanted to do:
sed 's/^([^ ,]).$/\1/' ~/.ssh/known_hosts
from ohmyzsh.
Priteau,
Thanks for helping. Lunks, did this help you out?
from ohmyzsh.
priteau, I got it straight from oh-my-zsh source.
robbyrussell, haven't tried it yet. Maybe it's worthy to add an 'issues' on README or on the installer about some caveats like this one.
from ohmyzsh.
after populating again and restarting zsh, it worked. Thanks, priteau!
from ohmyzsh.
Related Issues (20)
- FIXED THE NAVABAR POSITION AT TOP TO BETTER USER INTERFACE HOT 1
- Load sdk-init when adding the sdk plugin
- tmux attach-session -t expects an argument HOT 1
- Plugin ssh-agent. Not found ssh-askpass HOT 2
- Provide OMZ-wide option to specify subexecutor such as `doas` HOT 2
- When entering a directory containing large files, oh-my-zsh will freeze at this moment. HOT 2
- When oh-my-zsh tmux plugin is enabled, the 'tmux' alias will cause my oh-my-tmux .tmux.conf.local to be ignored HOT 1
- Support for gh copilot HOT 1
- git-commit is broken? HOT 7
- `omz reload` throws the error `stat: /Users/<username>/.zcompdump: stat: No such file or directory` HOT 2
- Enable autoloading of .nvmrcs after first usage of lazyloaded nvm HOT 3
- `cd /tmp` hangs indefinitely HOT 3
- GIT INFORMATION NOT APPEARING IN PROMPT HOT 7
- Help me. I can't do anything. HOT 1
- zshrc file overwritten automatically HOT 3
- ctrl+r reverse-i-search adds a big space next to $ prompt HOT 2
- Upgrade.sh fails "fatal: not a git repository (or any parent up to mount point /) HOT 2
- Split gwip alias into more and less aggressive ones HOT 1
- Allow setting plugins in the custom folder HOT 3
- Recent update breaks autocomplete for tmux plugin aliases 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 ohmyzsh.