Comments (5)
I've been playing around with PowerShell support, see my prototype - you can import this file from your profile.
This mostly works for adding and updating the history. It's not perfect, e.g. it will include the time to render the prompt, which can be non-trivial in some cases.
I couldn't find a clean way to use redirection to capture the result from an interactive search, so I resorted to using a temporary file. It feels pretty slow on my VM but it seems to work.
One other thing I think PowerShell needs that doesn't apply to any other currently supported shell. PowerShell's notion of the current directory goes beyond the filesystem. atuin
should have an explicit parameter like atuin history --cwd hklm:\ -- ...
so PowerShell can specify these non-filesystem paths.
from atuin.
Might be worth noting that Powershell is not a windows-only shell. I use it on my Linux machines and it's available for OSX as well.
from atuin.
Any news on PowerShell support?
from atuin.
@ellie and I are not against getting some basic powershell support, but neither of us run powershell or have the time right now to get familiar.
We have started to partially and unofficially support windows builds now, so it'll be the powershell integration that needs investigating.
- how can you hook into the prompt and detect key bindings
- how can you monitor command start and end events
- how can you update the prompt line with the search selection
from atuin.
@ellie and I are not against getting some basic powershell support, but neither of us run powershell or have the time right now to get familiar.
We have started to partially and unofficially support windows builds now, so it'll be the powershell integration that needs investigating.
1. how can you hook into the prompt and detect key bindings 2. how can you monitor command start and end events 3. how can you update the prompt line with the search selection
https://github.com/kelleyma49/PSFzf
from atuin.
Related Issues (20)
- After atuin is successfully installed, the up key cannot be used to recall the command history. HOT 3
- redraw the UI HOT 3
- terminal not properly restored if a background process exits when atuin search is running HOT 1
- `atuin register` asks for password, might be confused with `sudo` password (suggestion: add some context)
- Request self hosted improvement documentation HOT 8
- Uninstall option HOT 4
- Add 503 handling
- how to choose one history without execute HOT 6
- zsh: after selecting command from history, can't go to zsh's vim mode HOT 4
- Proposal: `atuin config` should list all config files and dirs HOT 3
- Env var option to disable atuin or make session history volatile for integrated Terminals (VS Code, IDEs)
- How to completely uninstall? HOT 3
- Segmentation fault when HOME env does not exist HOT 4
- [Feature Request] Edit command while selecting command HOT 2
- Neural-network based prediction/ranking algorithm (ala mcfly)
- Interactive commands not saving to history HOT 5
- Text overflow on website HOT 1
- Initial cargo install fails because of missing `cargo` executable in path HOT 1
- multiline commands in Zsh history get corrupted after import HOT 2
- The up key UI does not show the history on windows' MSYS2 bash 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 atuin.