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`\$ '
.
A script to abbreviate the working directory path for shell prompt.
A script to abbreviate the working directory path for shell prompt.
On ~/.bashrc replace \w
on the PS1 with `/path/to/ellipsis.py` for example replace PS1='\w\$ '
with PS1='`\~/scripts/ellipsis.py`\$ '
.
A script to abbreviate the working directory path for shell prompt.
MIT License