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

[#105] cd to the folder when hit clone #106

Closed
wants to merge 1 commit into from

Conversation

vrom911
Copy link
Member

@vrom911 vrom911 commented Sep 1, 2019

Resolves #105

This doesn't work. I am clueless why 🤔 @chshersh probably you can help with this one?

@vrom911 vrom911 added the Git Git commands label Sep 1, 2019
@vrom911 vrom911 self-assigned this Sep 1, 2019
Copy link
Contributor

@chshersh chshersh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation looks correct. I had the same idea in my head when I saw this issue. I don't know why it doesn't work...

However, I tried to google and found the following discussion:

It looks like we can't change the directory from the inside Haskell application 😞 Well, looks like from any application written in any language. The only solution is to convert hit to bash script so hit clone becomes bash function from inside which we can cd to any directory. But I think it's not worth the complexity just for this minor issue. I wasn't aware that this is not possible, too bad 😞

@vrom911
Copy link
Member Author

vrom911 commented Sep 1, 2019

Oh, thanks for this research, @chshersh ! Agree, that it is not worth it 👍

@vrom911 vrom911 closed this Sep 1, 2019
@vrom911 vrom911 deleted the vrom911/105-cd-to-the-folder-when branch September 1, 2019 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Git Git commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cd to the folder when hit clone
2 participants