Crates.io | ls-interactive |
lib.rs | ls-interactive |
version | 1.7.0 |
source | src |
created_at | 2023-03-30 17:19:09.456336 |
updated_at | 2023-03-30 17:19:09.456336 |
description | Interactive ls command |
homepage | https://github.com/Araxeus/ls-interactive |
repository | https://github.com/Araxeus/ls-interactive |
max_upload_size | |
id | 825309 |
size | 105,505 |
Interactive ls command made in rust
π Navigate between folders/files using arrow keys
π Browse folders / Open files with native apps using using Enter
π Open folder in terminal (CD to folder) using Shift+Enter or Alt+Enter
π Open folder in file manager using Ctrl+Enter
π Type anything to filter current folder content using fuzzy search
π Top button (π ..) opens the parent directory (LeftArrow can also be used when fuzzy text field is empty)
π Press Esc to exit
on Linux/Mac Shift+Enter or Ctrl+Enter might not work
Download zip package from releases page
Extract its content into a folder in PATH (guide)
Follow shell specific instructions:
Copy the lsi
function from scripts/lsi.sh to your ~/.bashrc
or ~/.zshrc
file:
Copy scripts/lsi.bat into a folder that is in your %PATH%
environment variable
you can open you environment variables settings using the command below: (or by searching for env
in the start menu)
rundll32.exe sysdm.cpl,EditEnvironmentVariables
Copy scripts/lsi.fish into ~/.config/fish/functions/
OR copy the function inside into your ~/.config/fish/config.fish
file
Copy the lsi
function from scripts/lsi.ps1 to your Microsoft.PowerShell_profile.ps1
you can open your profile using one of the following commands:
notepad $profile
gedit $profile
Copy the lsi
function from scripts/lsi.nu to your env.nu
you can open your environment file using the following command:
config env
lsi
or
lsi some_relative_path
(Releases are automatically built by github actions)
install rust
clone/download the repo
run in project directory:
cargo run
: to run in dev modecargo build --release
: to build locally,
/target/release
and named ls_interactive
/scripts
directoryContributions, issues and feature requests are welcome!
Feel free to check issues page.
Before submitting a Pull Request, verify your changes with all following commands:
cargo check
cargo fmt --all --check
cargo clippy --all-targets --all-features -- -W clippy::pedantic -W clippy::cargo -W clippy::nursery
Give a β if this package helped you!
MIT. See LICENSE file for details.