Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.
/ jpwd Public archive

A modern alternative to GNU/pwd using Java πŸ₯°β˜•

License

Notifications You must be signed in to change notification settings

0x61nas/jpwd

Repository files navigation

jpwd: A modern alternative to GNU/pwd using Java πŸ₯°β˜•

Security Rating Lines of Code Quality Gate Status Reliability Rating Duplicated Lines (%) VulnerabilitiesBugs Code Smells

jpwd screenshot

Features

  • Colorful output
  • Customizable colors for directories names and separator
  • Customizable separator
  • Supports multiple separators
  • Supports icons for directories
  • Supports no icons and no colors modes
  • Cross-platform (macOS, Windows, Linux) 🌍

Install

Linux

  • From aur: yay -S jpwd
  • Manual:
  • Make sure you installed wget and nerd font
  • Run this command
     curl -s https://raw.githubusercontent.com/Anas-Elgarhy/jpwd/master/scripts/install.sh | sudo bash

Uninstall

Linux

  • Manual:
  • Run this command
      curl -s https://raw.githubusercontent.com/Anas-Elgarhy/jpwd/master/scripts/uninstall.sh | sudo bash

Options table

Option Value Description
-h or --help n/a Show the help message
-v or --version n/a Show the version
-s or --separator Separator string Set the separator (like '-'), accept strings and characters, default is system separator (like '' in windows or '/' in linux and unix like systems)
-sc or --separator-color Color name or hex value, e.g red or `#ff000000 Set the separator color, accept strings and colors, default is random color
-nc or --no-colors n/a Disable colors
-b or --background Color name or hex value, e.g red or `#ff000000 Set the background color, accept strings and colors, default is none
-ni or --no-icons n/a Disable icons
-bc or --block-colors Block colors list like red,green,blue or #ff000000,#00ff0000 Set a list of dont use colors
-cl or --colors-list List of allowed colors like red,green,blue or #ff000000,#00ff0000 Set a list of colors, like "#5f44a4,red" If you use this option, it means that you have blocked all colors except for the ones you passed.

Requirements for development:

  • nerd-font
  • Maven
  • jdk 17
  • IntelliJ IDEA (not required but recommended)

TODO

  • Add Tests
  • Add Formatter
  • Crete arch package, created in aur
  • Create debian package
  • Add -L and -P options like the original pwd

Available in

GitHub GitLab BitBucket Codeberg

Quality gate

SonarCloud

License: GPL-3.0