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

How can I change the length of current working path #31

Open
tNhanDerivative opened this issue May 9, 2023 · 4 comments
Open

How can I change the length of current working path #31

tNhanDerivative opened this issue May 9, 2023 · 4 comments

Comments

@tNhanDerivative
Copy link

How can I change the length of current working directory. Default value is too short
If it's too complicated can I just turn off shorten path

@andresgongora
Copy link
Owner

You can edit the config under ~/.config/synth-shell. Just set it to whatever value you like. I'ts all documented there ;) Feel free to reopen this issue if it doesn't work for you

@tNhanDerivative
Copy link
Author

I have already tried that.
In file synth-shell-prompt.sh in the function shortenPath() there's a max_length variable I've already change that, it does nothing.
I even comment out all code inside shortenPath(), nothing change.

@andresgongora
Copy link
Owner

Ohh that's quite odd. Are you running synth-shell prompt for your normal user or for root? Also, after reinstalling, does a new config file appear next to the old one? What OS are you on? What's your terminal emulator?

@andresgongora andresgongora reopened this May 12, 2023
@tNhanDerivative
Copy link
Author

I'm using Fedora 38, my normal user. Okey I will reinstall it and see what happen

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

2 participants