Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile shell scripts #120

Open
Vanillma opened this issue Apr 29, 2022 · 2 comments
Open

Compile shell scripts #120

Vanillma opened this issue Apr 29, 2022 · 2 comments

Comments

@Vanillma
Copy link

Hello Bro

This program makes my terminal very beautiful and makes it easy for me to work with the git... Thank you very much.

Given that compiled files run faster, isn't it better to include compiled files in the project as well?

Or put the make file to compile in the client terminal in the project folder!

I was able to compile using shc ... the reason for this idea was a slight delay in each prompt update after executing the command...

I think if the files (shell script) are compiled and converted to binary, the delay will be less!
thanks

@diogocavilha
Copy link
Owner

Hello, @Vanillma

Thank you so much for using FancyGit and for giving me that feedback.

This is a really tricky issue. I'm not so happy with that performance too. Compiled shell might be a good solution for that. I'll take a look at it for sure.

Thank you so much for suggesting it!

@tsadarsh
Copy link

tsadarsh commented Jun 26, 2022

I have been digging on shc and it seems that shc is only good for weak obfuscation. source.

Still not clear if shc can improve execution speed. I have opened an query regarding this in the shc repo.

Edit:

It is confirmed that shc makes the execution slower. We have to explore other way to make it faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants