V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Chrisplus
V2EX  ›  Bash

晒晒你的 zsh_stats……

  •  
  •   Chrisplus · 2016-10-17 13:58:55 +08:00 · 11036 次点击
    这是一个创建于 2989 天前的主题,其中的信息可能已经有所发展或是发生改变。

    zsh_stats 是 oh-my-zsh 中提供的一个有趣的命令, 可以看到你的使用频率前 20 的命令,以及它们的次数。

     1	1508  24.425%     git
     2	1021  16.5371%    cd
     3	772   12.504%     lsa
     4	547   8.85973%    sudo
     5	183   2.96404%    clear
     6	158   2.55912%    vim
     7	158   2.55912%    ndk-build
     8	130   2.1056%     adb
     9	96    1.55491%    cat
    10	80    1.29576%    rm
    11	79    1.27956%    cp
    12	62    1.00421%    python
    13	57    0.923226%   pip
    14	53    0.858439%   bypy
    15	45    0.728863%   apm
    16	34    0.550696%   tree
    17	34    0.550696%   hexo
    18	30    0.485909%   npm
    19	26    0.421121%   gitk
    20	22    0.356333%   nslookup
    

    不过貌似不是很准确,感觉上 gradle 至少前 5 ,但是前 20 却没有。

    117 条回复    2024-07-12 17:03:48 +08:00
    1  2  
    bugmenein
        101
    bugmenein  
       2016-10-18 11:03:03 +08:00
    晒这个有意思么?
    rrfeng
        102
    rrfeng  
       2016-10-18 11:03:08 +08:00
    ls 第一,习惯性的敲 ls ……
    ssh 第二
    vim 第三
    yhxx
        103
    yhxx  
       2016-10-18 11:04:52 +08:00
    ~ zsh_stats
    1 477 39.1947% git
    2 256 21.0353% gulp
    3 199 16.3517% npm
    4 198 9.69597% webpack
    5 76 6.24486% cd
    6 85 1.23254% webpack-dev-server
    7 72 0.986031% open
    8 70 0.821693% vim
    9 38 0.657354% sudo
    10 18 0.657354% ssh
    bingwenshi
        104
    bingwenshi  
       2016-10-18 11:18:17 +08:00
    1 2181 21.8122% git
    2 1523 15.2315% vi
    3 1416 14.1614% ls
    4 983 9.83098% vim
    5 736 7.36074% cd
    6 417 4.17042% grep
    7 210 2.10021% supervisorctl
    8 201 2.0102% tmux
    9 163 1.63016% tail
    10 163 1.63016% python
    11 128 1.28013% gulp
    12 99 0.990099% cp
    13 72 0.720072% rm
    14 53 0.530053% pip
    15 45 0.450045% ssh
    16 39 0.390039% cat
    17 32 0.320032% rsync
    18 31 0.310031% mv
    19 31 0.310031% apt-get
    20 28 0.280028% ping
    jianleer
        105
    jianleer  
       2016-10-18 11:23:03 +08:00
    arslion
        106
    arslion  
       2016-10-18 11:34:17 +08:00
    @rrfeng 敲 l 就行,不用 ls 哈哈
    liuenyan
        107
    liuenyan  
       2016-10-18 11:38:10 +08:00
    $ zsh_stats
    1 1864 18.6419% vim
    2 1474 14.7415% ls
    3 1421 14.2114% cd
    4 814 8.14081% make
    5 336 3.36034% sudo
    6 332 3.32033% man
    7 285 2.85029% pacman
    8 255 2.55026% git
    9 213 2.13021% python
    10 195 1.9502% rm
    11 185 1.85019% mv
    12 160 1.60016% cat
    13 115 1.15012% cp
    14 107 1.07011% curl
    15 96 0.960096% okular
    16 70 0.70007% mkdir
    17 65 0.650065% clear
    18 62 0.620062% gcc
    19 59 0.590059% hugo
    20 53 0.530053% yaourt
    BMW
        108
    BMW  
       2016-10-18 11:42:26 +08:00
    ~  zsh_stats
    1 2689 29.4362% ls
    2 1050 11.4943% cd
    3 1015 11.1111% git
    4 555 6.07553% ssh
    5 377 4.12698% php
    6 357 3.90805% vim
    7 311 3.40449% rm
    8 237 2.59442% docker
    9 201 2.20033% curl
    10 153 1.67488% cat
    11 146 1.59825% npm
    12 123 1.34647% symfony
    13 120 1.31363% clear
    14 113 1.237% find
    15 104 1.13848% sh
    16 97 1.06185% brew
    17 90 0.985222% sudo
    18 90 0.985222% ping
    19 88 0.963328% cnpm
    20 61 0.667761% composer
    bullettrain1433
        109
    bullettrain1433  
       2016-10-18 12:13:16 +08:00
    -bash: zsh_stats: command not found
    ety001
        110
    ety001  
       2016-10-18 12:21:47 +08:00
    1 4363 43.6344% git
    2 591 5.91059% cd
    3 554 5.54055% vim
    4 373 3.73037% ssh
    5 364 3.64036% php
    6 348 3.48035% ls
    7 338 3.38034% docker
    8 328 3.28033% ping
    9 306 3.06031% rm
    10 283 2.83028% svn
    11 184 1.84018% sudo
    12 113 1.13011% cp
    13 101 1.0101% mv
    14 101 1.0101% cat
    15 97 0.970097% composer
    16 88 0.880088% scp
    17 74 0.740074% sed
    18 71 0.710071% ps
    19 65 0.650065% mkdir
    20 63 0.630063% exit
    Ixizi
        111
    Ixizi  
       2016-10-18 12:22:56 +08:00
    1 757 22.0893% ls
    2 439 12.81% cd
    3 213 6.21535% sudo
    4 125 3.64751% ping
    5 117 3.41406% bash
    6 103 3.00554% pip
    7 102 2.97636% rm
    8 85 2.4803% clear
    9 77 2.24686% git
    10 73 2.13014% echo
    11 70 2.0426% cp
    12 61 1.77998% brew
    13 59 1.72162% sh
    14 57 1.66326% svn
    15 48 1.40064% python
    16 46 1.34228% cat
    17 40 1.1672% vim
    18 33 0.962941% mv
    19 32 0.933761% ssh
    20 32 0.933761% scrapy
    entimm
        112
    entimm  
       2016-10-18 12:29:52 +08:00
    1 430 25.0729% git
    2 142 8.27988% subl
    3 125 7.28863% ll
    4 112 6.53061% docker-compose
    5 107 6.23907% cd
    6 72 4.19825% j
    7 70 4.08163% gitx
    8 55 3.207% sudo
    9 50 2.91545% php
    10 50 2.91545% brew
    11 38 2.21574% ssh
    12 28 1.63265% ~
    13 23 1.34111% docker
    14 23 1.34111% composer
    15 22 1.2828% ..
    16 21 1.22449% ls
    17 19 1.10787% ln
    18 19 1.10787% cat
    19 17 0.991254% rm
    20 16 0.932945% mv
    kissazi2
        113
    kissazi2  
       2016-10-18 13:05:56 +08:00
    zsh_stats
    1 1418 14.1814% gst
    2 756 7.56076% cd
    3 734 7.34073% gco
    4 641 6.41064% ls
    5 548 5.48055% glg
    6 520 5.20052% gcam
    7 508 5.08051% git
    8 404 4.0404% gd
    9 389 3.89039% gup
    10 338 3.38034% adb
    11 302 3.0203% gp
    12 239 2.39024% vi
    13 217 2.17022% rm
    14 202 2.0202% z
    15 191 1.91019% ..
    16 141 1.41014% ffplay
    17 133 1.33013% vim
    18 90 0.90009% gaa
    19 86 0.860086% gsta
    20 79 0.790079% gm
    timothyye
        114
    timothyye  
       2016-10-18 13:08:44 +08:00
    λ timothy [workspace/src/] at  master !
    → zsh_stats
    1 542 15.389% gs
    2 518 14.7076% ls
    3 240 6.81431% vim
    4 221 6.27484% cd
    5 187 5.30948% git
    6 160 4.54287% tig
    7 149 4.23055% ssh
    8 146 4.14537% gco
    9 138 3.91823% gpl
    10 119 3.37876% gps
    11 113 3.2084% brew
    12 106 3.00965% ga
    13 96 2.72572% bee
    14 93 2.64055% gc
    15 82 2.32822% j
    16 67 1.90233% clear
    17 62 1.76036% go
    18 30 0.851789% sudo
    19 30 0.851789% ping
    20 22 0.624645% curl
    icegreen
        115
    icegreen  
       2016-10-18 14:00:28 +08:00
    1 1527 15.9179% ssh
    2 1288 13.4265% l
    3 1079 11.2478% cd
    4 534 5.56656% git
    5 472 4.92025% ll
    6 302 3.14813% ping
    Owenjia
        116
    Owenjia  
       2016-10-18 14:57:33 +08:00 via Android
    都用 oh-my-zsh 了竟然还有这么多人 git 能排到前几……
    yupnano
        117
    yupnano  
       163 天前
    1 1134 11.1625% git
    2 816 8.03229% gco
    3 680 6.69357% gaa
    4 672 6.61482% gst
    5 375 3.69131% push
    6 370 3.64209% fct
    7 366 3.60272% grhh
    8 360 3.54366% gstp
    9 355 3.49444% gca!
    10 337 3.31726% gpr
    11 333 3.27788% gsta
    12 278 2.73649% cd
    13 269 2.6479% gmnl
    14 262 2.57899% curl
    15 255 2.51009% gf
    16 233 2.29353% grb
    17 233 2.29353% gb
    18 204 2.00807% grbc
    19 194 1.90964% gcm
    20 132 1.29934% gp
    1  2  
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5457 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:29 · PVG 15:29 · LAX 23:29 · JFK 02:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.