diff options
author | Moinak Ghosh <moinakg@gmail.com> | 2014-07-11 18:41:49 +0530 |
---|---|---|
committer | Moinak Ghosh <moinakg@gmail.com> | 2014-07-11 18:41:49 +0530 |
commit | 5e328e3a9c0784521ae4170f7958183c352bae83 (patch) | |
tree | 9ed82ca7e9fa049242b25075663216112a9365f2 /lib/completion.zsh | |
parent | 5728a5608d7e802999266ff2387747e4957be938 (diff) | |
download | zsh-5e328e3a9c0784521ae4170f7958183c352bae83.tar.gz zsh-5e328e3a9c0784521ae4170f7958183c352bae83.tar.bz2 zsh-5e328e3a9c0784521ae4170f7958183c352bae83.zip |
Solaris portability tweaks.
Diffstat (limited to 'lib/completion.zsh')
-rw-r--r-- | lib/completion.zsh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh index fa1d97f48..faea36118 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -25,7 +25,12 @@ 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' -zstyle ':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w" +if [ "$PLAT" = "SunOS" ] +then + zstyle ':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm" +else + zstyle ':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w" +fi # disable named-directories autocompletion zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories |