![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux 使用
写一些 linux 的使用技巧,debain 和 mac 为主
等不到你.
四格缩进
展开
-
脚本 - 自动设置终端前缀、安装 thefuck、安装 tldr(需要电脑安装有 pip3)
ArmTerminal.sh Mac 安装 pip3:https://www.jianshu.com/p/210aa11279e5 Linux 安装 pip3:https://www.cnblogs.com/litifeng/p/11286928.html #!/bin/bash # 使用方法: source ArmTerminal.sh echo "正在优化终端" echo "正在修改终端前缀..." if [ $(uname) = "Linux" ] then echo "判断为 Li原创 2021-08-26 20:50:34 · 315 阅读 · 0 评论 -
终端使用技巧
步骤 1 - 找到终端配置文件 可能是~/.bashrc,也可能是~/.zshrc,视情况而定 步骤 2 - 添加配置 打开文件后,在文件尾部添加配置,注意格式 我的配置: alias pt='python' 步骤 3 - 激活配置 执行: source ~/.bashrc 或者 source ~/.zshrc ...原创 2021-08-02 16:35:54 · 478 阅读 · 0 评论