c*ls commands that use colour and pipe output to less, with a sensible prompt
Project description
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
- Run
pip3 -V - If you get a Command not found error, run
sudo apt install python3-pipand redo from start - If your pip major version is less than 9, run
pip3 install -U pip && hash -r - Run
pip3 install colorls
TO-DO
LINK_COL_WIDTH(what does this mean??)- Fix inum handling
- Check for numeric owner/group
- Use
type -a python3andunset VIRTUAL_ENVwhen 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colorls-1.3.0.tar.gz.
File metadata
- Download URL: colorls-1.3.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c4c37ff9ed868310f478097424cb44ad70df578334ca626fe9e2501506859c5
|
|
| MD5 |
a219efb23fc53357db9043129d3e2257
|
|
| BLAKE2b-256 |
52b8ec1b722edd9fa3c2bd70d7c6d2f9e968497b6c5ed7eac9824803dc9ca2f2
|
File details
Details for the file colorls-1.3.0-py3-none-any.whl.
File metadata
- Download URL: colorls-1.3.0-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1808bed4f14af40c48a1a1692aa99c20ea3d4f50d74c2aa4605b35072d188f13
|
|
| MD5 |
7bb3c675b3f3ec17b2992b60ee7d06c6
|
|
| BLAKE2b-256 |
d32df1a3d73b7b1fb81d993b143c375af5261b7bcd67028567df5dcb3eaeac25
|