[![dependency status](https://deps.rs/crate/natls/2.1.9/status.svg)](https://deps.rs/crate/natls/2.1.9) [![natls](https://snapcraft.io/natls/badge.svg)](https://snapcraft.io/natls) # ⚡️ nat ⚡️ # Massive nat update! ![banner](assets/natbanner.png) ![demo](assets/natdemo.png) [What is nat?](https://github.com/willdoescode/nat#what-is-nat) [Highlights](https://github.com/willdoescode/nat#highlights) [Installation](https://github.com/willdoescode/nat#installation) [Understanding permissions output](https://github.com/willdoescode/nat#understanding-permissions-output) ## What is nat? Nat is a complete replacement for the 'ls' command Nats features include - Showing file permissions - Showing file size - Showing the date that the file was modified last - Showing the user that the file belongs to - Showing the group that the file belongs to - An easy to use file search - A splash of color to distinguish between files and folders ## Join the nat [discord server](https://discord.gg/2Fn8veP) ## Beta test the natls proof of concept re-write ```bash cargo install nat-poc ``` ## Highlights - A rather large german tech blog wrote an [article](https://www.heise.de/news/In-Rust-geschrieben-und-uebersichtlicher-nat-will-ls-ersetzen-4937429.html) about nat ## Usage ### Installation ```bash cargo install natls ``` ## Homebrew ```bash brew install willdoescode/natls/natls ``` ### Alternative (linux) [![natls](https://snapcraft.io/natls/trending.svg?name=0)](https://snapcraft.io/natls) ```bash sudo snap install natls ``` ### To update natls with snap ```bash sudo snap refresh natls ``` #### Another alternative (arch linux) [nat](https://aur.archlinux.org/packages/nat/) ```bash yay -S nat ``` (or your AUR helper of choice) ### Manual installation #### Linux ```bash apt-get install rustc cargo cd /tmp git clone https://github.com/willdoescode/nat.git cd /tmp/nat cargo build --release cd target/release ./nat ``` To install nat locally ```bash cd /tmp/nat cargo install --path . ``` and add this line to your `$HOME/.bashrc` ```bash export PATH=$PATH:$HOME/.cargo/bin ``` ### Updating nat ```bash cargo install natls ``` if there is a new version available cargo will install it ### Using nat with ls in zshrc or bashrc ```bash alias ls='natls' ``` ### Running ```bash natls