Warp
Warp copied to clipboard
Truncating bash history to 500 items
Discord username (optional)
No response
Describe the bug
Warp appears to truncate the bash history to 500 items?
Truncating the user's history like this causes data loss that I consider very serious.
My bash command history is a hugely valuable store of information to me.
Luckily I have backups of my .bash_history from before I tried out Warp.
To Reproduce
Steps to reproduce:
- Configure bash to keep a large history (see Additional Context section below)
- Create a .bash_history file with (for example) 3000 lines
- Open Warp
- Run
history
Expected behaviour
The history should still contain 3000 commands.
Instead it has been truncated to the most recent 500.
Screenshots
No response
Operating System
MacOS
OS Version
No response
Additional context
I have configured bash's history via my .bashrc as follows:
shopt -s histappend
export HISTCONTROL=ignoredups:erasedups
export HISTSIZE=5000
export HISTFILESIZE=100000
Warp Internal (ignore): linear-label:24888f54-df93-45d5-9bdd-e38f740cac19
No response
Truncating the user's history like this causes data loss that I consider very serious. My bash command history is a hugely valuable store of information to me. Luckily I have backups of my .bash_history from before I tried out Warp.
I lost my history as well, and I agree it's a pretty serious issue.
I had to uninstall Warp after that, because I no longer trust it with my data.
I had to uninstall Warp after that, because I no longer trust it with my data.
Same here. I know it is beta software and thus expected some instability and incomplete features, but I didn't expect a terminal app to cause serious data loss.
I just ran into this when I attempted to try warp. Luckily I had another session open in iTerm, where I restored my history and uninstalled Warp.
I lost my history too, sad day, uninstalling it now.
I can confirm that this bug also happened to me. This is rather serious and should be treated accordingly!
Tagging @warpdotdev-dx and @dannyneira
Thanks for bringing this up all, so sorry that you're having this issue. We're aware and looking into a fix. Will post updates here once resolved.
Still nothing ? I will also have to uninstall warp if this is not taken seriously. Terminal history is of outmost importance, and should not be altered with.
Hey all - sorry again that this has been an issue for a while. We've identified a fix; I'll post an update here when it's live.
This should be fixed now; please re-open this issue and let me know if you're still seeing your history truncated!