diff --git a/.config/coc/extensions/package.json b/.config/coc/extensions/package.json index 53d4acd..ba295d1 100644 --- a/.config/coc/extensions/package.json +++ b/.config/coc/extensions/package.json @@ -1,8 +1,8 @@ { "dependencies": { "coc-json": ">=1.3.2", - "coc-python": ">=1.2.12", - "coc-snippets": ">=2.2.1", + "coc-python": ">=1.2.13", + "coc-snippets": ">=2.2.3", "coc-ultisnips": ">=1.2.3" } } \ No newline at end of file diff --git a/.zshrc b/.zshrc index 4761e73..230307e 100644 --- a/.zshrc +++ b/.zshrc @@ -73,8 +73,17 @@ PR_NO_COLOUR="%{$terminfo[sgr0]%}" #precmd () { #$SCREENME true || echo -ne "\ekzsh\e\\" #} +case `uname` in + Darwin) + PR_HOST_COLOR=$PR_CYAN + ;; + *) + PR_HOST_COLOR=$PR_GREEN + ;; +esac - PROMPT='$PR_STITLE$PR_LIGHT_BLUE($PR_LIGHT_YELLOW%D{%H:%M}|%!$PR_BLUE%)[%(!.$PR_RED.$PR_GREEN)%n@%m$PR_LIGHT_CYAN %~$PR_BLUE]$PR_NO_COLOUR + +PROMPT='$PR_STITLE$PR_LIGHT_BLUE($PR_LIGHT_YELLOW%D{%H:%M}|%!$PR_BLUE%)[%(!.$PR_RED.$PR_HOST_COLOR)%n@%m$PR_LIGHT_CYAN %~$PR_BLUE]$PR_NO_COLOUR %(!.#.$) ' #source .zshprompt