{ "version": "https://jsonfeed.org/version/1", "title": "Z shell", "description": "Z shell\uff08zsh\uff09\u662f\u4e00\u6b3e\u53ef\u7528\u4f5c\u4ea4\u4e92\u5f0f\u767b\u5f55\u7684 shell \u53ca\u811a\u672c\u7f16\u5199\u7684\u547d\u4ee4\u89e3\u91ca\u5668\u3002zsh \u5bf9 Bourne shell \u505a\u51fa\u4e86\u5927\u91cf\u6539\u8fdb\uff0c\u540c\u65f6\u52a0\u5165\u4e86 Bash\u3001ksh \u53ca tcsh \u7684\u67d0\u4e9b\u529f\u80fd\u3002", "home_page_url": "go/zsh", "feed_url": "feed/zsh.json", "icon": "https://cdn.v2ex.com/navatar/4a08/142c/1059_large.png?m=1724649337", "favicon": "https://cdn.v2ex.com/navatar/4a08/142c/1059_normal.png?m=1724649337", "items": [ { "author": { "url": "member/BeijingBaby", "name": "BeijingBaby", "avatar": "https://cdn.v2ex.com/avatar/5129/e8be/40195_large.png?m=1763689815" }, "url": "t/1120888", "date_modified": "2025-03-25T02:56:41+00:00", "content_html": "", "date_published": "2025-03-25T02:56:00+00:00", "title": "iTerm2 \u6709\u4ec0\u4e48\u9c9c\u4e3a\u4eba\u77e5\u4f7f\u7528\u6280\u5de7\uff1f", "id": "t/1120888" }, { "author": { "url": "member/rdh45", "name": "rdh45", "avatar": "https://cdn.v2ex.com/gravatar/ce723ea490ad6979b13e39c160069936?s=73&d=retro" }, "url": "t/1045523", "title": "\u5728 shell (zsh) \u4e2d\u952e\u5165\u547d\u4ee4\u65f6\u4f1a\u91cd\u590d\u7b2c\u4e00\u4e2a\u5b57\u7b26\u7684 bug", "id": "t/1045523", "date_published": "2024-05-30T14:45:40+00:00", "content_html": "\u5206\u4eab\u4e00\u4e2a\u6700\u8fd1\u89e3\u51b3\u7684 shell (zsh) \u4e0a\u7684\u5c0f bug
\u66f4\u65b0 iTerm3.5 \u540e\u53d1\u73b0\u8f93\u5165\u67d0\u4e9b\u547d\u4ee4\u65f6\u7b2c\u4e00\u4e2a\u5b57\u7b26\u4f1a\u91cd\u590d\u663e\u793a\uff0c\u800c\u4e14\u65e0\u6cd5\u5220\u9664\u3002\uff08 brew \u7684 b \u5220\u4e0d\u6389\u554a\u4ec0\u4e48\u7684\uff09
\u6392\u9519\u540e\u53d1\u73b0\u662f zsh-autosuggestions \u548c\u547d\u4ee4\u63d0\u793a\u7b26\u7684\u517c\u5bb9\u6027\u5bfc\u81f4\u7684\u3002

\u5728\u8fd9\u91cc\u770b\u5230\u89e3\u51b3\u65b9\u6cd5\uff1a
https://unix.stackexchange.com/questions/90772/first-characters-of-the-command-repeated-in-the-display-when-completing?newreg=86b46ada169242b98dd693f95898d64b

\u7b80\u5355\u6765\u8bf4\u5c31\u662f\u7528\u7c7b\u4f3c`%12{\u2026%}`\u7684\u65b9\u5f0f\u628a\u6240\u6709\u6ca1\u5305\u8fdb\u53bb\u7684\u63d0\u793a\u7b26\u5305\u8fdb\u53bb\uff0c\u624b\u52a8\u63d0\u793a\u63d0\u793a\u7b26\u7684\u5bbd\u5ea6\u4e3a 12 \u4f4d\uff08\u4f60\u5f97\u81ea\u5df1\u6570\uff09" }, { "author": { "url": "member/cy18", "name": "cy18", "avatar": "https://cdn.v2ex.com/avatar/a786/43d9/208195_large.png?m=1724290569" }, "url": "t/1004868", "title": "Windows/MSYS2 \u4e0b zsh \u7528\u4ec0\u4e48\u63d2\u4ef6\u5e93\u901f\u5ea6\u6700\u5feb\uff1f", "id": "t/1004868", "date_published": "2023-12-31T15:16:41+00:00", "content_html": "

\u4e3b\u8981\u4f7f\u7528\u7684\u547d\u4ee4\u884c\u73af\u5883\u662f MSYS2 \u73af\u5883\uff0c\u73b0\u5728\u4f7f\u7528\u7684\u63d2\u4ef6\u5e93\u662f zimfw \u8ddf p10k \u3002\u7a7a\u547d\u4ee4\u7684\u72b6\u6001\u4e0b\u6309\u56de\u8f66\u5ef6\u8fdf\u51e0\u4e4e\u6709 1 \u79d2\uff0c\u672c\u6765\u90fd\u5df2\u7ecf\u4e60\u60ef\u4e86\uff0c\u6700\u8fd1\u6709\u4e2a\u4e1c\u897f\u9700\u8981\u5728 WSL2 \u73af\u5883\u4e0b\u8dd1\uff0c\u8bd5\u4e86\u4e0b WSL2 \u4e0b\u9762\u7684 zsh \uff0c\u4e00\u6478\u4e00\u6837\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u54cd\u5e94\u901f\u5ea6\u5b8c\u5168\u4e0d\u662f\u4e00\u4e2a\u91cf\u7ea7\u7684\uff0c\u611f\u89c9\u5728 100ms \u4ee5\u5185\uff0c\u5b9e\u5728\u662f\u592a\u4e1d\u6ed1\u4e86\u3002\ngit \u662f\u5f88\u5927\u7684\u4e00\u4e2a\u5f71\u54cd\u56e0\u7d20\uff0c\u6709 git \u5e93\u8ddf\u6ca1 git \u5e93\u7684\u76ee\u5f55\u901f\u5ea6\u662f\u6709\u4e00\u4e9b\u5dee\u5f02\uff0c\u4f46\u662f\u5373\u4f7f\u6ca1\u6709 git \u5e93\uff0c\u54cd\u5e94\u901f\u5ea6\u8fd8\u662f\u5f88\u6162\u3002\n\u7531\u4e8e\u5f88\u591a\u4e1c\u897f\u90fd\u8fd8\u9700\u8981\u5728 Windows \u4e0b\u4f7f\u7528\uff0c\u5168\u90e8\u5207\u5230 WSL2 \u8fd8\u662f\u6709\u70b9\u9ebb\u70e6\uff0c\u4e0d\u77e5\u9053 Windows \u4e0b\u7528\u4ec0\u4e48\u63d2\u4ef6\u5e93\u53ef\u4ee5\u8fbe\u5230\u6bd4\u8f83\u5feb\u7684\u901f\u5ea6\uff1f

\n" }, { "author": { "url": "member/lululau", "name": "lululau", "avatar": "https://cdn.v2ex.com/avatar/1352/d2eb/15170_large.png?m=1751341400" }, "url": "t/880106", "date_modified": "2022-09-14T15:59:42+00:00", "content_html": "

TLDR:

\n

MY_CMD ${(f)\"$(<MY_FILE.txt)\"}

\n

\u89e3\u6790\uff1a

\n\n

\u793a\u4f8b\u573a\u666f\uff1a

\n

\u9700\u6c42\uff1a

\n

\u6839\u636e\u4e00\u5b9a\u6761\u4ef6\u4ece DB \u4e2d\u67e5\u8be2\u5230\u82e5\u5e72 OSS \u5bf9\u8c61\u7684 key \uff0c\u7136\u540e\u5c06 OSS \u5bf9\u8c61\u4e0b\u8f7d\u5230\u672c\u5730

\n

\u89e3\u51b3\uff1a

\n
    \n
  1. \u4e3a\u4e86\u63d0\u9ad8\u4e0b\u8f7d\u901f\u5ea6\uff0c\u9700\u8981\u5e76\u884c\u4e0b\u8f7d\uff0c\u53ef\u4ee5\u7ed3\u5408 parallel \u547d\u4ee4\u548c rclone \u8fdb\u884c\u4e0b\u8f7d\uff0c\u5982\u4f7f\u7528 20 \u4e2a\u5e76\u53d1\u4e0b\u8f7d:\nparallel -ij 20 rclone copy MY_STORAGE:MY_BUCKET/{} ./ -- key1 key2 key3
  2. \n
  3. \u4f46\u662f\u53ef\u80fd\u901a\u5e38\u505a\u6cd5\u662f\u6309\u7167\u6761\u4ef6\u5c06 OSS \u5bf9\u8c61\u7684 key \u5217\u8868\u8f93\u51fa\u5230\u6587\u672c\u6587\u4ef6\uff1a\narql -e MY_DB 'puts OrderItem.where(conditions...).pluck(:oss_key)' > oss_keys.txt\uff0c\n\u800c parallel \u4e0d\u652f\u6301\u76f4\u63a5\u4ece\u6587\u4ef6\u4e2d\u8bfb\u53d6\u53c2\u6570
  4. \n
  5. \u56e0\u6b64\u53ef\u4ee5\u501f\u52a9\u8fd9\u91cc\u7684 ${(f)\"$(<MY_FILE.txt)\" \u7528\u6cd5\uff0c\u5c06\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u6bcf\u4e00\u884c\u8f6c\u6362\u6210\u4e00\u4e2a\u53c2\u6570:\nparallel -ij 20 rclone copy MY_STORAGE:MY_BUCKET/{} ./ -- ${(f)\"$(<oss_keys.txt)\"\uff1b\n\u6587\u672c\u884c\u4e2d\u5373\u4fbf\u5b58\u5728\u7a7a\u683c\u7b49 shell \u7684 meta char \u4e5f\u6ca1\u5173\u7cfb\uff1b\u4f46\u662f\u9700\u8981\u6ce8\u610f\u8fdb\u7a0b\u53c2\u6570\u5217\u8868\u7684\u957f\u5ea6\u662f\u6709\u9650\u5236\u7684\uff0c\u6240\u4ee5\u8fd9\u4e2a\u65b9\u6cd5\u4e0d\u9002\u7528\u4e8e\u6bd4\u8f83\u5927\u7684\u6587\u672c
  6. \n
\n", "date_published": "2022-09-14T15:55:49+00:00", "title": "\u5728 zsh \u91cc\u5c06\u4e00\u4e2a\u6587\u672c\u7684\u5404\u884c\u5c55\u5f00\u4e3a N \u4e2a\u547d\u4ee4\u884c\u53c2\u6570", "id": "t/880106" }, { "author": { "url": "member/zooo", "name": "zooo", "avatar": "https://cdn.v2ex.com/avatar/d94b/542a/284698_large.png?m=1555513487" }, "url": "t/836432", "date_modified": "2022-02-26T02:08:27+00:00", "content_html": "

\u597d\u65e9\u8bbe\u7f6e\u4e86 bash/zsh \u7ec8\u7aef\u81ea\u52a8\u8054\u60f3 /\u8865\u5168\u547d\u4ee4 \u7684\u529f\u80fd\uff0c\u5982\u4e0b\u56fe\uff1a\n\"bAxGQA.md.jpg\"

\n

\u56e0\u4e3a\u8fd9\u4e2a\u8865\u5168\uff0c\u8fd0\u884c\u592a\u6162\u4e86\uff0c\u7ecf\u5e38\u5361\u987f\uff0c\u73b0\u5728\u4e0d\u60f3\u7528\u4e86\uff0c\u4f46\u662f\u5fd8\u8bb0\u5f53\u65f6\u600e\u4e48\u8bbe\u7f6e\u4e86\uff0c\u54ea\u4e2a\u8f6f\u4ef6\u4e86\uff0c\u5927\u5bb6\u5e2e\u6211\u770b\u770b\u600e\u4e48\u5173\u95ed

\n", "date_published": "2022-02-25T09:03:20+00:00", "title": "\u597d\u65e9\u4ee5\u524d\u8bbe\u7f6e\u4e86 bash/zsh \u7ec8\u7aef\u81ea\u52a8\u8054\u60f3/\u8865\u5168\u547d\u4ee4 \u7684\u529f\u80fd\uff0c\u5fd8\u4e86\u662f\u4ec0\u4e48\u8f6f\u4ef6\u4e86\uff1f\u600e\u4e48\u5173\u95ed", "id": "t/836432" }, { "author": { "url": "member/theoda", "name": "theoda", "avatar": "https://cdn.v2ex.com/gravatar/124f0333906df2027857dda509fefcd5?s=73&d=retro" }, "url": "t/689718", "title": "shell \u4e0b\u6709\u6ca1\u6709\u529e\u6cd5\u89e3\u51b3\u4eba\u8ffd\u52a0\u547d\u4ee4\u7684\u9700\u6c42", "id": "t/689718", "date_published": "2020-07-13T13:33:15+00:00", "content_html": "

\u60f3\u6cd5\u6765\u81ea\u4e0b\u9762\u8fd9\u4e2a\u7c7b\u4f3c\u573a\u666f\uff1a

\n

\u672c\u6765\u53ef\u4ee5\u5f88\u6734\u7d20\u7684 \u547d\u4ee4 A ; \u547d\u4ee4 B \u5206\u53f7\u9694\u5f00\u4e00\u4e0b\u5c31\u597d\uff0c\u4f46\u5948\u4f55\u67d0\u4e9b\u60c5\u51b5

\n

\u547d\u4ee4 A \u6309\u4e0b\u56de\u8f66\u540e\uff0c\u4e0d\u6599\u7b49\u4e86\u5f88\u4e45\u5f88\u4e45\u8fd8\u6ca1\u5b8c\u6210\uff0c\u8fd9\u624d\u60f3\u8d77\u547d\u4ee4 B

\n

\u7136\u540e\u5c31\u4e24\u96be\u4e86\uff1a

\n
    \n
  1. \u4e2d\u65ad A\uff0c\u5c31\u6d6a\u8d39\u4e86\u7b49 A \u7684\u65f6\u95f4
  2. \n
  3. \u5728 A \u7684\u4e00\u5768\u8f93\u51fa\u91cc\u5f3a\u884c\u6253\u8fdb B \u547d\u4ee4+\u56de\u8f66\uff0c\u53ef\u80fd\u4f1a\u6270\u4e71\u8f93\u5165\u6d41\uff0c\u5f71\u54cd\u8f93\u51fa\u6392\u7248
  4. \n
\n

\u6240\u4ee5\u60f3\u77e5\u9053\u6709\u6ca1\u6709\u7c7b\u4f3c\u961f\u5217\u6216\u8005\u5176\u4ed6\u529e\u6cd5\uff0c\u80fd\u89e3\u51b3\u4e0a\u9762\u8fd9\u79cd\u8ffd\u52a0\u547d\u4ee4\u7684\u9700\u6c42

\n

\u73b0\u6709\u73af\u5883\u662f macOS+Terminal+zsh

\n" }, { "author": { "url": "member/v2eeeeee", "name": "v2eeeeee", "avatar": "https://cdn.v2ex.com/gravatar/ab5ea765c96e4eb77fc090aa098201ae?s=73&d=retro" }, "url": "t/654398", "title": "\u5927\u4f6c\u6307\u70b9\u4e0b Linux \u6587\u4ef6\u4fee\u6539\u66ff\u6362\u539f\u6587\u4ef6\u7684\u65b9\u6cd5", "id": "t/654398", "date_published": "2020-03-19T14:21:22+00:00", "content_html": "

fold -w64 file1 > tmp && mv tmp file1

\n

\u6c42\u95ee\u4e0b\u8fd9\u4e2a\u547d\u4ee4\u6709\u6ca1\u6709\u4f18\u96c5\u7684\u5199\u6cd5\uff1f\u4fee\u6539\u66ff\u6362\u6389\u539f\u6587\u4ef6

\n

\u8c22\u8c22\u5927\u4f6c\u6307\u70b9\u5927\u4f6c\u6307\u70b9

\n" }, { "author": { "url": "member/toyst", "name": "toyst", "avatar": "https://cdn.v2ex.com/avatar/15b8/4c8d/341928_large.png?m=1655446771" }, "url": "t/628583", "title": "\u8bf7\u6559\u4e00\u4e0b\u4f1a shell \u5904\u7406 JSON \u811a\u672c\u7684\u5927\u4f6c", "id": "t/628583", "date_published": "2019-12-13T01:14:07+00:00", "content_html": "

\u903b\u8f91\u662f\u8fd9\u6837\u7684\uff0c\u6211\u60f3\u5224\u65ad\u6bcf\u6bb5 num_leechs \u7684\u503c\uff0c\u5982\u679c\u5927\u4e8e 10\uff0c\u5c31\u8fd4\u56de name \u548c hash \u7684\u503c\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a

\n
[{\n \"added_on\": 1576120104,\n \"hash\": \"2fcb75646c688975daa840dfe466d21bc64118de\",\n \"name\": \"Ad.Astra.2019\",\n \"num_leechs\": 545\n }, \n{\n \"added_on\": 1576120104,\n \"hash\": \"5c04a056d6821792db902b22aesdf23r2cd23rd23\",\n \"name\": \"ABC\",\n \"num_leechs\": 32\n },\n{\n \"added_on\": 1576120104,\n \"hash\": \"dfgsdfg34tv34tg34g34g6547h547h4567g567h45\",\n \"name\": \"eGE\",\n \"num_leechs\": 2\n }\n]\n\n
\n" }, { "author": { "url": "member/SWK", "name": "SWK", "avatar": "https://cdn.v2ex.com/gravatar/fb4b196d2c284e1d4b74fe3611aacdaf?s=73&d=retro" }, "url": "t/626661", "title": "ys or agnoster\uff1f", "id": "t/626661", "date_published": "2019-12-06T12:51:56+00:00", "content_html": "" }, { "author": { "url": "member/freemoon", "name": "freemoon", "avatar": "https://cdn.v2ex.com/avatar/0a94/3887/328850_large.png?m=1773899137" }, "url": "t/620599", "title": "[shell] \u5173\u4e8e\u901a\u914d\u7b26\u7684\u4e24\u70b9\u7591\u95ee", "id": "t/620599", "date_published": "2019-11-18T04:00:47+00:00", "content_html": "

a=abc12334859348759758913947234723...[999 \u4e2a\u6216\u672a\u77e5\u4e2a\u6570\u5b57]

\n
    \n
  1. \u5728\u6570\u5b57\u662f\u672a\u77e5\u4e2a\u60c5\u51b5\u4e0b\uff0c\u5982\u4f55\u8d2a\u5a6a\u5339\u914d\u5c06\u6240\u6709\u6570\u5b57\u5339\u914d\u51fa\u6765\uff1f
  2. \n
  3. \u5728\u6570\u5b57\u662f\u5df2\u77e5\u4e2a\u6570\u65f6\uff0c\u5982\u4f55\u5339\u914d\u6307\u5b9a\u4e2a\u6570\u7684\u6570\u5b57\uff1f
  4. \n
\n

\u901a\u914d\u7b26\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e24\u4e2a\u95ee\u9898\u5417\uff0c\u611f\u8c22\u5927\u4f6c\u89e3\u7b54\uff01

\n" }, { "author": { "url": "member/SWBMESSI", "name": "SWBMESSI", "avatar": "https://cdn.v2ex.com/avatar/8c28/4c42/283615_large.png?m=1682403868" }, "url": "t/617456", "date_modified": "2019-11-08T01:36:56+00:00", "content_html": "

\u611f\u89c9 ys \u4e0d\u592a\u597d agnoster \u53c8\u5ba1\u7f8e\u75b2\u52b3\u4e86\n\u6c42\u4e00\u4e2a \u5927\u5bb6\u7528\u7684

\n", "date_published": "2019-11-08T01:36:28+00:00", "title": "\u6709\u6ca1\u6709\u5bf9 git status \u652f\u6301\u6bd4\u8f83\u597d\u5bf9 zsh \u4e3b\u9898", "id": "t/617456" }, { "author": { "url": "member/guyeu", "name": "guyeu", "avatar": "https://cdn.v2ex.com/avatar/2182/21ac/274780_large.png?m=1755522740" }, "url": "t/470014", "date_modified": "2019-10-11T23:26:20+00:00", "content_html": "

\u6211\u7684 zsh \u76ee\u524d\u5b89\u88c5\u4e86(git thefuck zsh-autosuggestions extract autojump zsh-syntax-highlighting)\uff0c\u90fd\u662f\u7ecf\u5e38\u4f1a\u7528\u5230\u7684\u63d2\u4ef6\uff1b\u4f46\u662f\u542f\u52a8 terminal \u7684\u901f\u5ea6\u5df2\u7ecf\u6162\u5230\u4e86 1s \u4ee5\u4e0a\uff0c\u60f3\u95ee\u4e0b v2er \u4eec\u6709\u6ca1\u6709\u4ec0\u4e48\u597d\u529e\u6cd5\uff5e

\n", "date_published": "2018-07-11T12:11:46+00:00", "title": "\u5927\u4f6c\u4eec\u7684 zsh \u90fd\u88c5\u4e86\u54ea\u4e9b\u63d2\u4ef6\u548c\u4e3b\u9898\u554a\uff0c\u5f71\u54cd\u7ec8\u7aef\u7684\u542f\u52a8\u901f\u5ea6\u8fd9\u70b9\u4f7f\u4eba\u4e0d\u723d\u4e0d\u77e5\u9053\u80bf\u4e48\u7834?", "id": "t/470014" }, { "author": { "url": "member/zthxxx", "name": "zthxxx", "avatar": "https://cdn.v2ex.com/avatar/3bab/01f2/146826_large.png?m=1570795475" }, "url": "t/451213", "date_modified": "2019-10-11T23:26:00+00:00", "content_html": "

\u6298\u817e\u8fc7\u5404\u79cd\u5e26\u6709\u4e00\u5806\u72b6\u6001\u76d1\u63a7\u7684 zsh \u914d\u7f6e\uff0c\u90a3\u4e2a\u65f6\u5019\u6bcf\u6b21\u6253\u5f00\u7ec8\u7aef\u5c31\u50cf\u4e2a HUD \u4e00\u6837\uff0c\u6ee1\u5c4f\u7684\u53c2\u6570\uff1b

\n

\u540e\u6765\u770b\u817b\u4e86\uff0c\u4e8e\u662f\u81ea\u5df1\u505a\u4e86\u4e2a\u7b80\u7ea6\u4e00\u70b9\uff0c\u989c\u8272\u6e05\u723d\u4e00\u70b9\u7684\u4e3b\u9898 jovial

\n

https://github.com/zthxxx/jovial

\n

\u6ca1\u6709 powerline \u5b57\u4f53\uff0c\u6ca1\u6709\u590d\u6742\u7684\u76d1\u63a7\u663e\u793a\uff0c

\n

\u53ea\u6709\u6700\u7b80\u5355\u7684\u51e0\u4e2a\u72b6\u6001\u5c55\u793a\uff1a\u9879\u76ee\u4f9d\u8d56\u8bed\u8a00\u3001git \u72b6\u6001\u3001\u5f53\u524d\u65f6\u95f4

\n

\u4e0a\u56fe

\n

\"jovial-theme\"

\n

\u5b89\u88c5

\n

\u624b\u52a8\u5b89\u88c5\u7684\u8bdd\uff0c\u5c31\u662f\u76f4\u63a5\u4e0b\u8f7d jovial.zsh-theme \u8fd9\u4e2a\u6587\u4ef6\u5230 oh-my-zsh \u4e3b\u9898\u76ee\u5f55\uff0c

\n

\u7136\u540e\u518d\u6539 ~/.zshrc \u4e2d\u7684\u4e3b\u9898\u540d\u4e3a jovial \u3002

\n

\u5f53\u7136\uff0c\u6211\u8fd9\u4e48\u61d2\u7684\u4eba\u80af\u5b9a\u662f\u63d0\u4f9b\u4e86\u81ea\u52a8\u5316\u7684\u4e00\u53e5\u8bdd\u5b89\u88c5\u561b\uff1a

\n
curl -sSL git.io/jovial | sudo bash -s $USER\n
\n

\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u4e3b\u9898\u6587\u4ef6\u3001\u5b89\u88c5 git autojump urltools \u63d2\u4ef6\uff0c\u5e76\u81ea\u52a8\u4fee\u6539 .zshrc \u4e2d\u7684\u4e3b\u9898\u540d\u548c\u63d2\u4ef6\u540d\u914d\u7f6e\u3002

\n

\u5982\u679c\u6ca1\u6709 zsh \u6216 oh-my-zsh \u7684\u8bdd\uff0c\u4e5f\u4f1a\u9ed8\u8ba4\u5c1d\u8bd5\u81ea\u52a8\u5b89\u88c5\u5e76\u4fee\u6539\u9ed8\u8ba4 shell (\u6240\u4ee5\u624d\u9700\u8981 root \u6743\u9650)\uff5e

\n

\u652f\u6301 MacOS\u3001Debian / Ubuntu\u3001CentOS\u3001Arch\uff0c

\n

\u6240\u4ee5\u4e5f\u53ef\u4ee5\u5728\u670d\u52a1\u5668\u4e0a\u8fd9\u6837\u4e00\u53e5\u8bdd\u5b89\u88c5\uff0c

\n

\u6bd4\u5982\u628a\u4e0a\u9762\u90a3\u53e5\u8bdd\u52a0\u5165\u5230\u670d\u52a1\u5668\u521d\u59cb\u5316\u811a\u672c\u4e2d\uff0c\u65b9\u4fbf\u7684\u591a\uff0c\u7b80\u76f4\u4e0d\u8981\u592a\u723d\uff01

\n", "date_published": "2018-05-01T07:35:29+00:00", "title": "\u505a\u4e86\u4e00\u6b3e\u7b97\u662f\u5c0f\u6e05\u65b0\u7684 zsh \u4e3b\u9898 jovial\uff0c\u6709\u4eba\u8981\u6652\u7ec8\u7aef\u4e48\uff5e", "id": "t/451213" }, { "author": { "url": "member/vjnjc", "name": "vjnjc", "avatar": "https://cdn.v2ex.com/avatar/5a90/c7cf/57887_large.png?m=1425951239" }, "url": "t/349051", "date_modified": "2019-10-11T23:27:13+00:00", "content_html": "\u73af\u5883\u662f osx EI \uff0c zsh 5.0.8 \u3002\u7528\u4e86 zsh \u5927\u6982\u6709 2 \u5e74\u4e86\uff0c\u6700\u8fd1\u53d1\u73b0 zsh \u6267\u884c\u547d\u4ee4\u6bd4\u8f83\u6162.\r
\r
\u4e3e\u4e2a\u4f8b\u5b50\uff1a\r
\u6211\u6267\u884c ls \uff0c\u7ec8\u7aef\u9a6c\u4e0a\u5c31\u56de\u5e94\u4e86\u6211\u7684\u6307\u4ee4\uff0c\u628a\u5f53\u524d\u6587\u4ef6\u5217\u8868\u663e\u793a\u51fa\u6765\u4e86\uff0c\u4f46\u662f\u6ca1\u6709\u8fdb\u5165\u4e0b\u4e00\u4e2a\u6307\u4ee4\u7684\u8f93\u5165\u884c\uff0c\u50cf\u5047\u6b7b\u4e86\u4e00\u6837\uff0c\u5927\u6982\u7b49\u5f85 5 \u79d2\u5de6\u53f3\u624d\u4f1a\u8df3\u51fa\u8fd9\u4e2a\u5047\u6b7b\u72b6\u6001\uff0c\u663e\u793a\u51fa \u279c HackVG git:(master) \u8fd9\u6837\u7684\u5b57\u6837\u7b49\u5f85\u4e0b\u4e00\u4e2a\u547d\u4ee4\u8f93\u5165\u3002\r
\r
\u4e00\u5f00\u59cb\u60f3\u662f\u4e0d\u662f zsh-history \u592a\u5927\u4e86\uff0c\u6240\u4ee5\u62d6\u7d2f zsh \u3002\u770b\u4e86\u4e00\u4e0b zsh-history \u624d 700KB \u5e94\u8be5\u6ca1\u95ee\u9898\u3002\r
\r
\u60f3\u95ee\u4e00\u4e0b\u6709\u540c\u5b66\u8ddf\u6211\u9047\u5230\u4e00\u6837\u7684\u60c5\u51b5\u4e86\u561b\uff1f", "date_published": "2017-03-21T02:39:48+00:00", "title": "osx \u4e0b zsh \u901f\u5ea6\u8d8a\u6765\u8d8a\u6162\uff0c\u6709\u4e48\u6709\u540c\u5b66\u9047\u5230\u8ddf\u6211\u4e00\u6837\u7684\u95ee\u9898\uff1f", "id": "t/349051" }, { "author": { "url": "member/gt11799", "name": "gt11799", "avatar": "https://cdn.v2ex.com/avatar/a5a8/cd6b/76846_large.png?m=1509987102" }, "url": "t/344745", "date_modified": "2019-10-11T23:23:40+00:00", "content_html": "

\u56e0\u4e3a\u516c\u53f8\u7684\u5404\u79cd\u539f\u56e0\uff0c\u53ef\u80fd\u8981\u88ab\u8feb\u4ece Mac \u8f6c\u5411\u4f7f\u7528 windows \u5f00\u53d1\u3002\u88c5\u4e86 bash \uff0c\u88c5\u4e86 on my zsh \uff0c\u7ed3\u679c\u3002\u3002\u5f00\u59cb\u4e86\u5404\u79cd\u95ee\u9898\uff0c\u800c\u4e14\u7f51\u4e0a\u7684\u56de\u7b54\u5b9e\u5728\u662f\u592a\u5c11\u4e86\u3002

\n\n

\"\u663e\u793a\"

\n
LANG=en_US.UTF-8\nLC_ALL=en_US.UTF-8\n
\n

\u8bbe\u7f6e\u4e86\u5b57\u7b26\u96c6\u4e5f\u4e0d\u884c\u3002

\n\n

\"disk\"

\n\n

\u597d\u591a\u597d\u591a\u95ee\u9898\uff0c\u6709\u8e29\u8fc7\u5751\u7684\u5206\u4eab\u4e0b\u5457

\n", "date_published": "2017-03-03T13:33:32+00:00", "title": "\u6709\u4eba\u5728 windows \u4e0a\u88c5\u4e86 oh my zsh \u5417", "id": "t/344745" }, { "author": { "url": "member/pirates", "name": "pirates", "avatar": "https://cdn.v2ex.com/avatar/548b/57cc/17658_large.png?m=1334812220" }, "url": "t/335729", "date_modified": "2019-10-11T23:26:15+00:00", "content_html": "

\"shell.png\"\n\u56fe\u4e2d\u7684\u63d0\u793a\u7b26(\u8fd9\u4e2a\u8fd8\u80fd\u79f0\u4e3a\u63d0\u793a\u7b26\u5417\uff1f)\uff0c\u952e\u5165\u547d\u4ee4\u524d\u7684\u7bad\u5934\u6807\u8bc6\u4ee5\u53ca\u5176\u4e2d\u6240\u663e\u793a\u7684\u5185\u5bb9\uff0c\u770b\u8d77\u6765\u76f4\u63a5\u3001\u8212\u670d\uff0c\u60f3\u77e5\u9053\u662f\u5982\u4f55\u5b9e\u73b0\u7684\uff0c\u8c22\u8c22\uff01

\n", "date_published": "2017-01-19T14:58:48+00:00", "title": "\u8bf7\u95ee zsh \u4e0b\u8fd9\u79cd\u6548\u679c\u662f\u5982\u4f55\u5b9e\u73b0\u7684\uff1f", "id": "t/335729" }, { "author": { "url": "member/kingddc314", "name": "kingddc314", "avatar": "https://cdn.v2ex.com/avatar/1a00/8067/128584_large.png?m=1767712627" }, "url": "t/274048", "date_modified": "2019-10-11T23:27:19+00:00", "content_html": "

\u9700\u8981\u5b89\u88c5 .oh-my-zsh \uff0c\u7136\u540e

\n
git clone git@github.com:six-ddc/zsh-proxychains-ng.git ~/.oh-my-zsh/custom/plugins/zsh-proxychains-ng\necho \"plugins+=(zsh-proxychains-ng)\" >> ~/.zshrc\n
\n

\u4f7f\u7528\u65f6\uff0c\u6309 [ESC]-P \uff0c\u81ea\u52a8\u6dfb\u52a0\uff08\u53bb\u9664\uff09 proxychains4 -q \u547d\u4ee4\u524d\u7f00\uff0c\u652f\u6301 emacs \u548c vi mode \u3002

\n

https://github.com/six-ddc/zsh-proxychains-ng

\n", "date_published": "2016-04-24T06:41:19+00:00", "title": "\u5206\u4eab\u4e00\u4e2a zsh \u4e0b\u4e00\u952e\u6dfb\u52a0 proxychains4 \u547d\u4ee4\u524d\u7f00\u7684\u63d2\u4ef6", "id": "t/274048" }, { "author": { "url": "member/ChiangDi", "name": "ChiangDi", "avatar": "https://cdn.v2ex.com/avatar/7216/fbee/39429_large.png?m=1575855838" }, "url": "t/182390", "date_modified": "2019-10-11T23:29:38+00:00", "content_html": "

\u597d\u5427\u6211\u627f\u8ba4\u7528\u4e86\u4e2a\u70c2\u4fd7\u7684\u6807\u9898\u3002\u3002\u3002

\n\n

\u5199\u4e86\u4e00\u7bc7\u5173\u4e8e zsh \u548c oh-my-zsh \u7684\u4e00\u7bc7\u6587\u7ae0\uff1ahttp://www.jiang-di.org/tools/2015/04/08/i-hope-know-when-first-use-zsh.html

\n\n

\u4e0a\u9762\u4ecb\u7ecd\u4e86\u4e00\u4e9b\u975e\u5e38\u6709\u7528\u7684 zsh \u63d2\u4ef6\u6bd4\u5982 z\uff0czsh-autosuggestions\uff0c\u4ee5\u53ca\u4e00\u4e9b\u795e\u5947\u7684 oh-my-zsh \u81ea\u5e26\u7684\u547d\u4ee4\u3002\u6bd4\u5982\u89c2\u770b\u5386\u53f2\u8bb0\u5f55\u7684d \u4ee5\u53ca\u53ef\u4ee5\u770b\u5230\u4f60\u7684\u4f7f\u7528\u9891\u7387\u524d 10 \u7684\u547d\u4ee4\u7684 zsh_stats\u3002

\n\n

\u5927\u5bb6\u8fd8\u6709\u4ec0\u4e48\u63a8\u8350\u7684\u6211\u53ef\u4ee5\u52a0\u4e0a\u53bb\u5594\uff01

\n\n

\u53e6\u5916\u7528 oh-my-zsh \u7684\u540c\u5b66\u53ef\u4ee5\u5728 Terminal \u91cc\u6572zsh_stats\u56de\u8f66\uff0c\u6652\u6652\u4f60\u4f7f\u7528\u547d\u4ee4\u7684 top 10 \uff01

\n", "date_published": "2015-04-08T11:48:26+00:00", "title": "\u90a3\u4e9b\u6211\u5e0c\u671b\u5728\u4e00\u5f00\u59cb\u4f7f\u7528 Zsh(oh-my-zsh) \u65f6\u5c31\u77e5\u9053\u7684", "id": "t/182390" }, { "author": { "url": "member/vjnjc", "name": "vjnjc", "avatar": "https://cdn.v2ex.com/avatar/5a90/c7cf/57887_large.png?m=1425951239" }, "url": "t/174213", "date_modified": "2019-10-11T23:26:31+00:00", "content_html": "

Hello\uff0c\u6211\u5207\u5165zsh\u5df2\u7ecf\u534a\u5e74\u4e86\uff0c\u4e00\u76f4\u662f\u8f7b\u5ea6\u7528\u6237\uff0c\u6700\u8fd1\u53d1\u73b0zsh\u5f88\u5361\u5f88\u5361\uff08\u5177\u4f53\u8868\u73b0\u4e3a\u8f93\u5165\u82f1\u6587\u5b57\u6bcd\u5c31\u5f88\u5361\uff09\uff0c\u6211\u5728zsh\u91cc\u9762\u8fd0\u884c\u4e86bash\uff0c\u9a6c\u4e0a\u6d41\u7545\u8d77\u6765\uff01

\n\n

\u6211\u7684\u73af\u5883\u662f: Linux Mint + zsh + on-my-zsh
\n\u95ee\u9898\uff1a\u6253\u5b57\u6162\uff0c\u5f88\u5361\u3002\u4e3a\u6b64\u6211\u5df2\u7ecf\u628afcitx-sogou\u5378\u8f7d\u4e86\uff0c\u73b0\u5728\u7528\u82f1\u6587\u8f93\u5165\u6cd5\u3002
\nworkaround\uff1a\u5728zsh\u91cc\u9762\u8fd0\u884cbash\uff0c\u518d\u6572\u547d\u4ee4\u3002\u6d41\u7545\u65e0\u6bd4\u3002

\n\n

\u6709\u6ca1\u6709\u9ad8\u624b\u70b9\u64ad\u4e00\u4e0b\uff0c\u4e3a\u4ec0\u4e48\u6211\u7684zsh\u8fd9\u4e48\u5361\uff0c\u800c\u6211\u662f\u636e\u5f88\u591a\u4f4d\u5927\u725b\u90fd\u8bf4zsh\u597d\u7528\u5207\u8fc7\u6765\u7684\uff0c\u96be\u9053\u662f\u59ff\u52bf\u4e0d\u5bf9\uff1f

\n", "date_published": "2015-03-03T09:59:20+00:00", "title": "[zsh] zshell \u5f88\u5361\u554a\uff0c\u6709\u4e48\u6709\u540c\u5fd7\u70b9\u64ad\u4e00\u4e0b", "id": "t/174213" }, { "author": { "url": "member/JEFFMEME", "name": "JEFFMEME", "avatar": "https://cdn.v2ex.com/avatar/519d/4bda/46579_large.png?m=1570152015" }, "url": "t/137551", "date_modified": "2019-10-11T23:26:06+00:00", "content_html": "Last login: Mon Oct 6 20:18:21 on console
cd /Users/JEFFMEME/UED/doc; clear; pwd
[Oh My Zsh] Would you like to check for updates?
Type Y to update oh-my-zsh: % \u279c ~ y
zsh: command not found: y
\u279c ~ Y
zsh: command not found: Y

\u6b63\u786e\u7684\u5347\u7ea7\u65b9\u6cd5\u662f\u4ec0\u4e48\u3002\u3002", "date_published": "2014-10-08T03:42:36+00:00", "title": "ZSH \u547d\u4ee4\u884c\u5de5\u5177\u5982\u4f55\u68c0\u67e5\u5347\u7ea7\uff1f", "id": "t/137551" }, { "author": { "url": "member/xatest", "name": "xatest", "avatar": "https://cdn.v2ex.com/avatar/27ef/3454/7998_large.png?m=1376395785" }, "url": "t/102008", "date_modified": "2019-10-11T23:29:24+00:00", "content_html": "

\u4e0a\u56fe\u662f\u6211\u73b0\u5728\u7528\u7684\u4e3b\u9898\u300e dst \u300f\uff0c\u53ea\u6709\u4e00\u70b9\u4e0d\u7b26\u5408\u6211\u7684\u8981\u6c42\uff1a\u53ea\u6709\u65f6\u95f4\u6ca1\u6709\u65e5\u671f\u3002\u6240\u4ee5\u6c42\u63a8\u8350\u4e00\u6b3e\u4e3b\u9898\u6ee1\u8db3\uff1a
1. \u663e\u793a\u5f53\u524d\u76f8\u5bf9\u8def\u5f84\u4e00\u884c\uff0c\u8f93\u5165\u547d\u4ee4\u53e6\u8d77\u4e00\u884c\u3002
2. \u663e\u793a\u5f53\u524d git \u5206\u652f+\u662f\u5426\u6709\u672a\u63d0\u4ea4\u5185\u5bb9\u3002
3. \u663e\u793a\u5f53\u524d\u65e5\u671f+\u65f6\u95f4\u3002
4. \u9ed1\u8272\u6216\u6697\u8272\u80cc\u666f\uff0c\u4ee5\u4e0a\u6587\u5b57\u989c\u8272\u6e05\u6670\u53ef\u8fa8\u3002", "date_published": "2014-02-26T13:34:10+00:00", "title": "\u6c42\u63a8\u8350\u4e00\u6b3e zsh \u4e3b\u9898~", "id": "t/102008" }, { "author": { "url": "member/gavingeng", "name": "gavingeng", "avatar": "https://cdn.v2ex.com/avatar/5a38/a1eb/8930_large.png?m=1334901320" }, "url": "t/47861", "date_modified": "2019-10-11T23:27:02+00:00", "content_html": "\u521a\u914d\u7f6e\u4e86\u4e0b zsh,\u4e0d\u8fc7\u6240\u8bf4\u7684\u81ea\u52a8\u8865\u5168\u8fd8\u6ca1\u770b\u5230\u5982\u4f55\u7528\uff0c\u5148\u8d34\u4e0a\u914d\u7684\u56fe\u770b\u770b

\u56fe:
zah:
bash: ", "date_published": "2012-09-16T12:14:38+00:00", "title": "\u914d\u7f6e\u4e86\u4e0b zsh", "id": "t/47861" }, { "author": { "url": "member/RagnarokStack", "name": "RagnarokStack", "avatar": "https://cdn.v2ex.com/avatar/eb37/3961/21275_large.png?m=1337687391" }, "url": "t/41025", "date_modified": "2019-10-11T23:27:08+00:00", "content_html": "\u4e0d\u4e45\u4e4b\u524d\u628ashell\u6362\u6210\u7684zsh,\u7136\u540e\u987a\u4fbf\u88c5\u4e0a\u4e86oh-my-zsh\u8fd9\u4e2a\u5916\u6302\uff0c\u53ef\u662f\u611f\u89c9\u88c5\u4e0a\u4e4b\u540e\u4e00\u4e2a\u5f88\u5927\u7684\u95ee\u9898\u5c31\u662f\u542f\u52a8\u901f\u5ea6\u8fc7\u6162\uff0c\u6709\u65f6\u5019\u751a\u81f3\u89812-3\u79d2\u4e4b\u540e\u624d\u80fd\u542f\u52a8\uff5e\u5b8c\u5168\u6ca1\u6709\u5f53\u521dBash Shell\u542f\u52a8\u901f\u5ea6\u3002\u3002\u3002\u6c42\u95ee\u6709\u5927\u5bb6\u4ec0\u4e48\u65b9\u6cd5\u89e3\u51b3\u5462\uff1f", "date_published": "2012-06-30T11:31:36+00:00", "title": "oh-my-zsh\u542f\u52a8\u901f\u5ea6\u5f88\u6162", "id": "t/41025" } ] } ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86