Giter Club home page Giter Club logo

Comments (4)

zenhob avatar zenhob commented on May 29, 2024

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.

zenhob avatar zenhob commented on May 29, 2024

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.

zenhob avatar zenhob commented on May 29, 2024

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.

micjamking avatar micjamking commented on May 29, 2024

No problem. Thanks!

from hcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.