1
0
Fork 0
mirror of https://github.com/Luzifer/short_path.git synced 2024-11-09 16:30:06 +00:00
Small utility to shorten the current path for shell prompts
Find a file
Knut Ahlers 824f831458
Initial version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-18 14:52:41 +01:00
vendor/github.com/mitchellh/go-homedir Initial version 2017-11-18 14:52:41 +01:00
Gopkg.lock Initial version 2017-11-18 14:52:41 +01:00
Gopkg.toml Initial version 2017-11-18 14:52:41 +01:00
LICENSE Initial version 2017-11-18 14:52:41 +01:00
main.go Initial version 2017-11-18 14:52:41 +01:00
README.md Initial version 2017-11-18 14:52:41 +01:00

Luzifer / short_path

short_path is a very small utility to shorten the current path into a less readable but more useful version to be included in shell prompts. Especially Go developers know paths like /home/luzifer/workspaces/private/go/src/github.com/Luzifer/short_path which already takes up most of the space on the prompt. This tool shortens the path to ~/w/p/g/s/g/Luzifer/short_path which is much shorter and you should be able to know from that what the elements are.