summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMoinak Ghosh <moinakg@gmail.com>2014-09-16 22:29:52 +0530
committerMoinak Ghosh <moinakg@gmail.com>2014-09-16 22:29:52 +0530
commit5f38a537cef0d79c9d53c01e8f88d150e985c70a (patch)
tree80e45f999600dec1d5701dd9875cd23b34fd2317 /lib
parent5e328e3a9c0784521ae4170f7958183c352bae83 (diff)
downloadzsh-5f38a537cef0d79c9d53c01e8f88d150e985c70a.tar.gz
zsh-5f38a537cef0d79c9d53c01e8f88d150e985c70a.tar.bz2
zsh-5f38a537cef0d79c9d53c01e8f88d150e985c70a.zip
Update Solaris changes to use OSTYPE and zsh datetime module.
Diffstat (limited to 'lib')
-rw-r--r--lib/completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index faea36118..83b6efb66 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -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