• macOS 安装 brew

    2022.09.09 in Ju4t

    安装 brew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ==> Checking for `sudo` access (which may request your password)... Password: ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/

    更多

  • zsh 终端 自动建议

    2022.09.08 in Ju4t

    安装 克隆 安装 将此存储库克隆到您机器上的某个位置。 本指南将假定 ~/.zsh/zsh-autosuggestions。 git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions 将以下内容添加到您的 .zshrc: source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh 开始一个新的终端会话。 Homebrew 安装 通过 Homebrew 搜索 zsh,即会发现有 zsh-autosuggestio

    更多

  • macOS 终端中使用 tree 命令

    2022.09.08 in Ju4t

    MacOS 没有自带tree 命令,需要用户自己安装; tree 简介 tree命令可以以树形结构显示文件目录结构,它非常适合于我们给别人介绍我们的文件目录的组成框架,同时该命令使用适当的参数也可以将命令结果输出到文本文件中。 安装 方法一:alias alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'" 实测:在macOS Monterey 版本12.5.1中,只此一步即可。 方法二:brew install tree 安装 $ brew install tree 命令行参数 -a 显示

    更多