Comments (4)
Thanks for the detailed report! HCl should create the aliases file automatically when you run it. I'll double check and get back to you. In the meantime, all I can suggest is to try running HCl and see if it creates the aliases file.
Thanks again. I'll get back you with more info soon.
On Jan 29, 2014, at 17:44, Mike King [email protected] wrote:
I switched from the old auto completion script:
eval
hcl completion
to the new one:complete -W
cat ~/.hcl/aliases
hcl
and I get the following error on CLI:cat: /Users/username/.hcl/aliases: No such file or directory
complete: usage: complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist] [-P prefix] [-S suffix] [-X filterpat] [-F function] [-C command] [name ...]
...which makes sense, because when I look in the .hcl directory, there isn't an aliases directory/file. Currently, all of the aliases are being saved to a settings.yml file. Replacing settings.yml in the script doesn't fix the issue either.—
Reply to this email directly or view it on GitHub.
from hcl.
Follow-up question: Are you running HCl from the latest source? Thanks.
On January 29, 2014 at 18:00:50 , Zack Hobson ([email protected]) wrote:
Thanks for the detailed report! HCl should create the aliases file automatically when you run it. I'll double check and get back to you. In the meantime, all I can suggest is to try running HCl and see if it creates the aliases file.
Thanks again. I'll get back you with more info soon.
On Jan 29, 2014, at 17:44, Mike King [email protected] wrote:
I switched from the old auto completion script:
eval hcl completion
to the new one:
complete -W cat ~/.hcl/aliases
hcl
and I get the following error on CLI:
cat: /Users/username/.hcl/aliases: No such file or directory
complete: usage: complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist] [-P prefix] [-S suffix] [-X filterpat] [-F function] [-C command] [name ...]
...which makes sense, because when I look in the .hcl directory, there isn't an aliases directory/file. Currently, all of the aliases are being saved to a settings.yml file. Replacing settings.yml in the script doesn't fix the issue either.
—
Reply to this email directly or view it on GitHub.
from hcl.
Thanks for the heads up, it turns out that HCl wasn't creating the alias cache every time. Should be fixed now. Make sure you're using the latest version from master if you want to use this feature, it hasn't be released yet.
Thanks again!
from hcl.
No problem. Thanks!
from hcl.
Related Issues (20)
- Unable to authenticate: Login failed. HOT 5
- hcl status fails - undefined method [] for nil:NilClass
- Cumulative time HOT 2
- Using 'hsl status' returns error HOT 5
- hcl resume should be idempotent HOT 8
- Command to remove cached tasks HOT 5
- hcl resume warning: respond_to is old fashion which takes only one parameter HOT 2
- Hanging HOT 1
- Error reading man page HOT 1
- Projects list doesn't get updated HOT 6
- make: *** [yajl_ext.o] Error 1, failed, exit code 2 HOT 5
- Fixing a broken config HOT 1
- allow logging to past days
- DNS resolution error HOT 3
- Put config directory in `$XDG_CONFIG_HOME` HOT 1
- Add better description to subdomain auth question HOT 2
- Connection Failed: nodename nor servname provided, or not known HOT 1
- `hcl status` command throws an error HOT 2
- Google Login HOT 2
- Support using Personal Access Tokens instead of plain text password storing HOT 3
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 hcl.