cgbahk / dotfiles

Archive of setting
2 stars 0 forks source link

shell prompt: check environment and do by it #8

Open cgbahk opened 5 years ago

cgbahk commented 5 years ago

e.g. if the environment is docker (check whether root directory has .dockerenv), shell prompt should has \h flag to show hostname

cgbahk commented 5 years ago

may be good to check http://ezprompt.net