#Command History

5 messages · Page 1 of 1 (latest)

cobalt flower
#

How do I clear warps command history and also clear a particular entry?

desert flax
#

It’s just your shell’s command history… not Warp’s. There isn’t a way to clear history selectively in Warp. You will have your shell history file.

cobalt flower
#

I tried the commands to clear entry's in zsh but it did not work. I swore I had done this before and this is the command that work but does not seem to be working now.

history -d $((HISTCMD-1))

desert flax
#

So you are trying to delete the previous command right?

#

What version of bash are you using?