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)
- 装有Omz的mac机器上ssh登录到装有Omz的机器上时 不能按 ctrl-c 换行 HOT 2
- does not create a new line and consumes a lot of CPU resources HOT 4
- Updating Oh My Zsh issues HOT 2
- The flag 'history -c' did not work HOT 1
- parse error near `then` in check_for_upgrade.sh HOT 3
- history not by default display the full history when `$HIST_STAMPS` set to valid strftime format.
- Mysterious `←[?1h` character appears when typing on Windows HOT 9
- poetry-env gets deactivated if changing to a sub directory HOT 1
- Branch Switch Delay HOT 2
- Tab completion for `git add` fails on macOS if working directory path contains unicode characters in NFD (decomposed) form HOT 2
- Add to brew, to be able to install by "brew install ohmyzsh" HOT 1
- Cant terminate running foreground process since last week HOT 2
- git plugin: please add commit & push alias HOT 1
- zsh crash after conda activate
- eval "$(fzf --zsh)" is failing HOT 7
- omz_urlencode:45: pcre_exec() error [-10] HOT 1
- No space found between folder name and command in visual studio code HOT 1
- Support alacritty-direct $TERM in title() function
- Alias Arguments Not Being Recognized HOT 2
- Unexpected backslash ( \ ) when opening in vscode terminal 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 ohmyzsh.