Skip to main content

c*ls

Uses colour and pipes output to less, with a sensible prompt.

Each command is equivalent to:-

cls      ls -FC
clls     ls -lF --time-style=long-iso
cllls    ls -lF --time-style=full-iso
cals     ls -FCA
calls    ls -lFA --time-style=long-iso
callls   ls -lFA --time-style=full-iso
csls     sudo ls -FC
cslls    sudo ls -lF --time-style=long-iso
csllls   sudo ls -lF --time-style=full-iso
csals    sudo ls -FCA
csalls   sudo ls -lFA --time-style=long-iso
csallls  sudo ls -lFA --time-style=full-iso

Installation

  1. Run pip3 -V
  2. If you get a Command not found error, run sudo apt install python3-pip and redo from start
  3. If your pip major version is less than 9, run pip3 install -U pip && hash -r
  4. Run pip3 install colorls

TO-DO

  • LINK_COL_WIDTH (what does this mean??)
  • Fix inum handling
  • Check for numeric owner/group
  • Use type -a python3 and unset VIRTUAL_ENV when in a venv to break out of it

Development

Package dependencies are handled by pipenv. It is assumed that pipenv will manage the installation of all concrete dependency versions. setup.py reads the dependency info from Pipfile via the pipenv pacakge.

Before you can build the package, you will have to have make installed. You can then run make setup to create a Virtualenv (the .venv subdirectory where packages and metadata will be installed) and then . .venv/bin/activate to activate it.

Then you can run pip install pipenv wheel and then use a build process such as:-

make build
make dist
# ... test .whl file now ...
make release

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for colorls 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for colorls 1.3.0
File Size Uploaded
colorls-1.3.0.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for colorls 1.3.0
File Interpreter ABI Platform
colorls-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 46.5 kB

Release files / colorls-1.3.0.tar.gz

Download URL colorls-1.3.0.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8c4c37ff9ed868310f478097424cb44ad70df578334ca626fe9e2501506859c5
BLAKE2b-256 checksum
How to use checksums
52b8ec1b722edd9fa3c2bd70d7c6d2f9e968497b6c5ed7eac9824803dc9ca2f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / colorls-1.3.0-py3-none-any.whl

Download URL colorls-1.3.0-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1808bed4f14af40c48a1a1692aa99c20ea3d4f50d74c2aa4605b35072d188f13
BLAKE2b-256 checksum
How to use checksums
d32df1a3d73b7b1fb81d993b143c375af5261b7bcd67028567df5dcb3eaeac25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page