dstrap.cr v0.2

📂 Everything you need to know about the current directory in one command.

dstrap

dstrap is a simple script made to get the most useful information about your current working directory. Made with Crystal for Linux systems, it's the perfect supplement to commands like ls -a.

Installation:

To install and build the latest version of dstrap, navigate to your home directory and create a bin/ folder:

cd ~
mkdir -p bin && cd bin

Move to the bin folder and copy the following installation script:

wget -O dstrap.cr https://raw.githubusercontent.com/frissyn/dstrap.cr/main/dstrap.cr
crystal build dstrap.cr -o dstrap --release --no-debug --progress
rm dstrap.cr && chmod +x ./dstrap

Then add the compiled exectable to $PATH:

export PATH="$PATH:/home/$USER/bin"

And that's all! Call the command dstrap from anywhere and enjoy! 🎉

image

Repository

dstrap.cr

Owner
Statistic
  • 11
  • 1
  • 0
  • 0
  • 0
  • about 3 years ago
  • May 12, 2021
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 08:02:20 GMT

Languages