macOs Catalina 10.15 系统环境配置 + VScode + python + redis 等

本文介绍了在macOS Catalina 10.15系统上进行环境配置的步骤,包括设置终端路径、查看系统变量、Python路径查询以及创建和配置虚拟环境。详细讲解了如何使用zshrc文件进行配置,并提到了VScode、Python和Redis的集成。
摘要由CSDN通过智能技术生成

 

 

路径/配置文档说明

基本操作:

1.  打开terminal默认的即为当前用户路径:/Users/ssun/    (也可以用 cd ~ 打开,即~ = /Users/ssun/  )  

     cd ..  返回父目录

2.  ls 列出当前目录下文件信息

     ls -a 列出包含后缀的文件详细信息

   

 

系统变量配置:

  1. 属于zsh的配置

/etc/zshrc 

(注意没有带点,详见注释:

# System-wide profile for interactive zsh(1) shells.

# Setup user specific overrides for this in ~/.zshrc. See zshbuiltins(1)
# and zshoptions(1) for more details.

/etc/zprofile 

(注意没有带点,详见注释:

# System-wide profile for interactive zsh(1) login shells.

# Setup user specific overrides for this in ~/.zprofile. See zshbuiltins(1)
# and zshoptions(1) for more details.

2. 属于bash的配置

/etc/bashrc

(注意没有带点,详见注释:

# System-wide .bashrc file for interactive bash(1
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值