Comments (2)
Hmm, could you post your config and add what you did in the terminal and what you saw? I haven't made any changes related this in my own config and if I start a line with a space, it's not recorded in history. This has been true for several versions now.
from nushell.
Yes, this was implemented in #9371 (and the corresponding Reedline nushell/reedline#566) just over a year ago.
However, there might be a slight bug in it depending on how you view things, and perhaps this is what you are seeing?
The "bug" is that the most recent command appears to be cached in memory regardless of whether it is preceded by a space or not. If you hit ↑ (Up arrow) immediately after typing a space-suppressed command, that command will appear on the commandline.
However, note that it is never persisted to the history file, and it will disappear from the up-arrow history as soon as the next command is entered.
It's tough to even classify this as a security risk, though, since in that scenario the previous command is going to appear on your screen anyway. Even a Ctrl+L to clear the screen is going to leave it in the scrollback for your terminal app. You'd need to enter a clear --all
in order to truly remove it, in which case it would also no longer be available via up-arrow (since the clear
command would have overwritten it).
from nushell.
Related Issues (20)
- Make power operator `**` work with durations HOT 2
- glob not working with windows paths
- Lazy loading for custom commands
- cd path/to/file.txt/.. causes directory not found error HOT 3
- `OneOf(String,List(String))` doesn't work in named arguments
- Attention: Nightly build of release binaries failed HOT 1
- Feature Request: Open command supports opening directories HOT 2
- Intermediary output of thefuck (potentially other commands) is lost in pipes since Nu 0.92 HOT 1
- Add 'like' operator (clone of =~) HOT 1
- Extend describe --detailed with schema aggregation HOT 5
- Unspecified behavior of char after ending quotes HOT 5
- Provide $in alias in function body HOT 3
- `ls <dir>` no longer sorted by date HOT 6
- `detect columns --guess` panics when encountering `…` in 2 subsequent rows HOT 3
- `flatten` does not rename conflicting column if parent's conflicting column appears after column to be flattened HOT 1
- Removing symlink ending with `/` removes the original path
- Default parameters don't accept `const` values HOT 3
- Help for `dexit` displays non-existent `Subcommands` section HOT 5
- flag missing completable<string> HOT 3
- Weird error when using `into datetime` HOT 3
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 nushell.