Display shelve status in prompt and lshg
Refactored common fucntionality of lshg and cool-prompt