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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request #4

Open
VikalpP opened this issue Jun 9, 2022 · 6 comments
Open

Feature request #4

VikalpP opened this issue Jun 9, 2022 · 6 comments

Comments

@VikalpP
Copy link

VikalpP commented Jun 9, 2022

Can we add/update the default git account?
I'm actually frustrated by doing git-acc {my_work_git} each time 馃槄.

It will be really helpful if we can change the default git account by using git-acc.
I know we can update it manually, but just a thought/ feature request so I can change the default frequently each time I switch to another work.

@ACN-TimLavelle
Copy link

Just installed this repo and it's great... but yes, it needs a default setting as having to set it for each terminal and each tab is cumbersome.

@jhabarunk
Copy link

jhabarunk commented Jul 6, 2023

You can set alias for the default one and then use alias every time. Something like below
alias default=git-acc Personal

@tw-yshuang
Copy link
Owner

tw-yshuang commented Jul 7, 2023

Hello, it has been a while. Many users have requested this particular feature. It seems like this feature is important. Currently, I am in a crucial stage of my studies. Accomplish this feature. I believe it can be achieved by adding a straightforward configuration to the $profile:

echo 'git-acc <user-id>' >> $profile # $profile (e.g. ~/.zshrc)

I am considering rebuilding this tool using a different method in the coming year, with the goal of making it accessible to all types of shells, and the default setting will be included as a feature.

@trentguillory
Copy link

The issue is that some git-acc command needs to be run for every terminal window any time its created?

@tw-yshuang
Copy link
Owner

@trentguillory Can you describe this issue in more detail with a new issue section?

@ng-hai
Copy link

ng-hai commented Mar 5, 2024

Just want to thank you for your awesome tool, it helps me a lot 馃挴

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

No branches or pull requests

6 participants