当前位置: 首页 > 后端技术 > Python

Ubuntu20.04(qbit)

时间:2023-03-26 12:27:46 Python

现代命令行工具一个简单的批量配置shell脚本:https://github.com/qbit-git/m...bashmodern_cli_ubuntu2004.sh这个脚本适合用root/sudo权限这个脚本适合初始化,不做条件判断,no适用于复杂场景的工具rg替换grep编程语言:RustGitHub:https://github.com/BurntSushi...安装配置sudoaptinstallripgrep-y#下面这句是为了避免和下面介绍的bat冲突sudosed-i'/\/usr\/.crates2.json/d'/var/lib/dpkg/info/ripgrep.listecho'aliasgrep=rg'>>~/.bashrcbat替换cat编程语言:RustGitHub:https://github。com/sharkdp/bat安装配置sudoaptinstallbat-yecho'aliascat=batcat'>>~/.bashrcfdreplacefindprogramminglanguage:RustGitHub:#https://github.com/sharkdp/fdsudoaptinstallfd-find-yecho'aliasfd=fdfind'>>~/.bashrcecho'aliasfind="fdfind-H"'>>~/.bashrcfzf命令行模糊匹配编程语言:GoGitHub:https://github.com/junegunn/fzfsudoaptinstallfzfecho'source/usr/share/doc/fzf/examples/completion.bash'>>~/.bashrcecho'source/usr/share/doc/fzf/examples/key-bindings.bash'>>~/.bashrcpipx编程语言:PythonGitHub:https://github.com/pypa/pipx安装配置pip3installpipxecho'exportPATH=$PATH:/home/ubuntu/.local/bin'>>~/.bashrctldr编程语言:PythonGitHub:https://github.com/tldr-pages...安装配置pipxinstalltldrtldr-uglances替代顶级编程语言:PythonGitHub:https://github.com/nicolargo/...安装配置pipxinstallglancesmkdir~/.config/glances/cp~/.local/pipx/venvs/glances/share/doc/glances/glances.conf~/.config/glances/glances.confxonsh基于Python的shell编程语言:PythonGitHub:https://github.com/xonsh/xonsh安装配置pipxinstallxonsh[full]-ihttps://mirrors.aliyun.com/pypi/simple/aliases['ll']='ls-al'本文来自qbitsnap

猜你喜欢