jmcs / ellipsis

A script to abbreviate the working directory path for shell prompt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ellipsis

A script to abbreviate the working directory path for shell prompt.

How to use on Bash

On ~/.bashrc replace \w on the PS1 with `/path/to/ellipsis.py` for example replace PS1='\w\$ ' with PS1='`\~/scripts/ellipsis.py`\$ '.

About

A script to abbreviate the working directory path for shell prompt.

License:MIT License


Languages

Language:Python 100.0%