Crates.io | cd-pls |
lib.rs | cd-pls |
version | 0.1.4 |
source | src |
created_at | 2024-09-25 13:37:07.322737 |
updated_at | 2024-09-26 13:50:13.657308 |
description | A pretty LS-like screen for when you CD. |
homepage | |
repository | |
max_upload_size | |
id | 1386348 |
size | 14,889 |
A pretty LS-like screen for when you cd.
Running pls
clears the screen and lists files and directories in the current directory, with icons and color information.
First, install pls
:
cargo install cd-pls
Create a function in your .bashrc
or somewhere else that's sourced:
eval $(pls --init)
Note that this will automatically override your cd
, mv
, touch
, and rm
to use pls
.
Create a batch file somewhere in your PATH:
@echo off
cd %1
pls