-
Notifications
You must be signed in to change notification settings - Fork 155
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
[Feature Request] Separate Environment Variable for History File Location #708
Comments
I can understand the hope. Some observations:
Sync conflicts and errors will be a problem no matter what. I don't recommend trying to use file sync software on the settings file or history files. It's not going to work out how you hope.
But it wouldn't make syncing work. It won't address the sync conflicts and errors. Also, the I'm open to considering changes to how history is stored. But the file sync issues can't be addressed by the proposal here, so this isn't a viable option. |
Thank you for your detailed explanation, it helped me realize this is more complex than I assumed initially, specially while multiple computers are used at the same time.
Maybe this is my specific use case, but I often find myself repeatedly using the many long commands across multiple computers and history/auto-completion helps a lot in this case when I switch PC (I don't have to save those command somewhere or find again on internet and everything is backed up, so convenient). I think I should investigate more about this before making further suggestion, meanwhile I'll explore to create some custom script for my specific use case. This feature request can be closed for now. Thank you once again! |
First of all, thank you for creating such an awesome project!
I've been using clink, flex-prompt, and clink-completions, they are really great, save lot of time and make terminal so much enjoyable.
Coming to this feature request:
I am aware that this feature has been requested before, and CLINK_PROFILE environment variable is already there to configure location for all clink profile related files.
However, I mainly want to synchronize the history file across multiple computers so I can easily access previously used commands from any machine.
Currently, I achieve this by setting the CLINK_PROFILE location to a folder in OneDrive.
This works but with some issues:
To address these issues, I propose for a separate environment variable (probably CLINK_HISTORY_FILE) for synchronizing history.
Thank you! Let me know if there is any way to achieve this or any additional details are needed.
The text was updated successfully, but these errors were encountered: