Comments (6)
We don't store history in the cloud. Commands you run are never sent to Warp's servers unless you use a feature like block sharing or Warp AI, where that is an explicit part of the feature.
Display of the last few blocks is part of our "session restoration" feature - this can be turned off in Settings > General > "Restore windows, tabs, and panes on startup". The clear
command in a shell is typically implemented by pushing everything into scrollback but not actually "clearing" any of it from the terminal buffer. In Warp, "Clear Blocks" (default keybinding cmd+k) is the equivalent of iTerm's "Clear Buffer" (same cmd+k keybinding).
Additionally, Warp stores some command history in its (local-only, never sent to the cloud) sqlite database; on macOS, this can be found at $HOME/Library/Application Support/dev.warp.Warp-Stable/warp.sqlite
. Feel free to delete that and see if it addresses the issue. (Your settings are stored elsewhere.)
Warp should read your .zsh_history
file at startup and combine it with any history it has saved. If this is not happening (or if you delete the sqlite database and we don't properly import history from your .zsh_history
file), please let us know - that's a very bad bug and we'd want to address it immediately.
I agree that we should provide an easy way, within the app, to clear history - I'll file an issue internally to track adding that functionality.
from warp.
Hi. @fsefsrefgwgfageggreg,
History will remain in memory for the session. It should be cleared after restarting Warp
from warp.
That doesn't work. I typed some commands, rm'ed the history, quit and reopened warp, history is still there. A menu option or a "delete history on quit" in the settings would be great.
from warp.
even using rm .zsh_history and clear and then relaunching warp restores the screen and the history. So something is definitely cached/saved elsewhere and is being restored when relaunching app. Feels like it should be easier to just clear history. That's how it works in every terminal I've used before. You guys can add goofy themes and tabs and AI bullshit but when you type basic commands like rm and clear they still need to work as expected.
from warp.
I can't remove the history either.
fyi, my context:
macos. after the last update(v0.2024.04.30.08.02.stable_01),
its command history isn't updated anymore and shows the same old history (.zsh_history is updated & i can see them in Terminal)
i thought Warp's history was somehow broken, so wanted to clear them, but couldn't find the way
the issue has gone after update(v0.2024.05.07.08.02.stable_02) without any action by me
from warp.
How is Warp splitting the history across .zsh_history
and warp.sqlite
? There's a high level of inconsistency of history when using split-pane, and the ability to recall history from up/down keyboard keys to CTRL+R
from warp.
Related Issues (20)
- "" HOT 1
- Allow navigating between tabs using mouse side scroll HOT 1
- Warp-terminal signup doesn't work on Win 10 + WSL2 + Ubuntu HOT 8
- Extend text selection with Shift + left mouse click HOT 5
- AppImage welcome survey every launch HOT 4
- while AI tab is open Settings close button dont work sometimes and ui is disturbed HOT 1
- Starship Prompt doesn't render properly. HOT 6
- Automatically remove $ (dollar sign) from pasted commands HOT 1
- vim style navigation for warp drive HOT 1
- Warp Terminal becomes unresponsive after logging in via Edge browser on Ubuntu 22.04 running on Windows 11 HOT 6
- I want to use Warp notebook in multiple tabs / terminals, HOT 3
- warp_escape_json:1: can't create temp file for here document: permission denied HOT 7
- Cannot Open URL Link On Ubuntu22.04 with VIM HOT 5
- SSH not align HOT 7
- Feature: Running in both: GUI and terminal modes HOT 4
- Login shell HOT 1
- A configuration option to ignore injecting SSH Wrapper for certain connections/domains HOT 2
- Ability to delete blocks HOT 2
- Keyboard shortcut for switching to n:th pane HOT 1
- Open in editor on Markdown `.md` file not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warp.