araxeus / ls-interactive Goto Github PK
View Code? Open in Web Editor NEWInteractive ls command
License: MIT License
Interactive ls command
License: MIT License
Running ls-interactive
in a subshell causes it to default to a certain number of lines.
Repro
cd $(ls-interactive)
Expected
ls-interactive
fits to the terminal even when invoked from within a subshell.
currently, in windows terminal, win10, function:
Open folder in terminal (CD to folder) using Shift+Enter or Alt+Enter
only works on cmd
.
request
Open folder in terminal (CD to folder) using Shift+Enter or Alt+Enter
Hope it can work in git bash (git for windows) in wt.
if you are inside c:/a/b/c,
then you click left arrow key, it can jump to parent folder and point to parent foler (> c:/a/b/c)
name = 'ls-interactive'
operating_system = 'windows'
crate_version = '1.5.0'
explanation = '''
Panic occurred in file 'C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\tiny_update_notifier-1.1.0\src\lib.rs' at line 148
'''
cause = 'called Option::unwrap()
on a None
value'
method = 'Panic'
backtrace = '''
0: 0x7ff6486e73f0 -
1: 0x7ff648707ee5 -
2: 0x7ff648707fdc -
3: 0x7ff6486b81ac -
4: 0x7ff6486ba478 -
5: 0x7ff6486b9cc4 -
6: 0x7ff6486f2cec -
7: 0x7ff9f5287974 - BaseThreadInitThunk
8: 0x7ff9f7bba271 - RtlUserThreadStart'''
I've already created an app manifest for it here:
https://github.com/jericjan/scoop-bucket
Users can either installing it by adding the bucket first like this:
scoop bucket add jericjan https://github.com/jericjan/scoop-bucket
scoop install jericjan/ls-interactive
Or by directly using the URL like this:
scoop install https://github.com/jericjan/scoop-bucket/raw/master/bucket/ls-interactive.json
With this 2nd method, you can take my ls-interactive.json
, place it anywhere in your repo, and use that file's raw URL instead.
EDIT: Why did i call it scoopy? Man, I need sleep.
There is no way to use the alt
+enter
shortcut to echo current folder. As a workaround, I find myself having to navigate further down and press alt
+enter
on the ..
entry.
I would suggest adding the .
entry, or providing a new shortcut to select the current location.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.