shinokada/awesome

[FEAT]: install scripts from local git repository

Opened this issue · 6 comments

Description

I'm maintaining some scripts locally that would be great to manage with awesome so I can install them from the containing folder.
for example, awesome install $PWD "script name". In this way I could easily update all my scripts with awesome update`

Additional Information

No response

Do you want to create a PR?

I can try to contribute.
Does running shellspec -s bash work for you? It fails me on the main branch already.
when I run user$ shellspec -s bash. It results with

main: line 34: ./lib: No such file or directory

Unexpected output to stderr occurred at line 2-15 in 'spec/functions_spec.sh'
Running: /usr/bin/bash [bash 5.1.4(1)-release]


Finished in 0.24 seconds (user 0.17 seconds, sys 0.01 seconds)
0 examples, 0 failures, aborted by an unexpected error

Aborted with status code [executor: 1] [reporter: 1] [error handler: 102]
Fatal error occurred, terminated with exit status 102.

You are right. I think spec/functions_spec.sh needs to be updated.

Could you fix the tests to make sure my feature won't break anything? 🤔

Sure. Give me a day or two.

Can you pull and test it again.