Comments (4)
Yes, I see what you mean. I'll leave it with you... I am only using the hist d
and ^_
functionality (a lot!), so you choose. I just thought you'd like to hear a newcomer's perspective 👍.
from zsh-hist.
Hm, good point. Thanks for the feedback. I’ll have to think about it.
from zsh-hist.
I have considered the options, but I still think undo
is the most clear in this context. You wouldn't expect delete
, edit
, fix
and get
to mean the same thing in different contexts either, would you?
Although, I do like rollback
and revert
for this, but if I use those, I don't want those to be b
or v
. That is too hard to remember. Then I would just like it to be r
, but that then leaves the question: What would then be the new name for reload
? It could be s
for sync
, which is one I considered earlier, but it would be slightly misleading, since it's only one way.
One other option could be to rename undo
to abort
and use a
for it. That would parallel the a
in Zsh's spelling correction. 🤔
b
for back
would be another choice.
from zsh-hist.
Note, by the way, that just as with other Undo features, you can execute hist u
multiple times to go further and further back. So, in that sense, too, undo
feels more appropriate to me than revert
or roll back
.
from zsh-hist.
Related Issues (18)
- Commands drawn from history cannot be executed. HOT 3
- Problems with unicode characters HOT 3
- Select multiple history entries HOT 3
- How to do a big-time auto format in place?
- TODO: Add installation instructions
- Regex `\b` replaced with `^H` in multi-line command HOT 2
- Don't add current command to history (`ignore` flag) HOT 2
- Plugin no longer working as expected after recent changes HOT 5
- Make plugin work with per-directory-history too, not just global history HOT 2
- ^Q unavailable in vi command mode
- hist: warning: $HISTSIZE should be at least 20% larger than $SAVEHIST HOT 1
- Widgets are not found anymore HOT 4
- Aliases are automatically expanded before the command is executed HOT 16
- Code formatting ignores HIST_IGNORE_SPACE HOT 3
- Command line prepended with tab character. HOT 13
- History line autocompletion not working. HOT 1
- History line tab-completion not working. HOT 1
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 zsh-hist.