Update Solaris changes to use OSTYPE and zsh datetime module.

This commit is contained in:
Moinak Ghosh
2014-09-16 22:29:52 +05:30
parent 5e328e3a9c
commit 5f38a537ce
4 changed files with 6 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ bindkey -M menuselect '^o' accept-and-infer-next-history
zstyle ':completion:*:*:*:*:*' menu select
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
if [ "$PLAT" = "SunOS" ]
if [ "$OSTYPE[0,7]" = "solaris" ]
then
zstyle ':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm"
else