当前位置:网站首页>Zsh configuration file
Zsh configuration file
2022-07-06 09:52:00 【XRSec】
yum install zsh -y
apt install zsh -y
oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
plug
sed -i "s/plugins=(git)/plugins=(git zsh-syntax-highlighting zsh-autosuggestions docker)/g" ~/.zshrc
source ~/.zshrc
env
echo -e 'export LANG=zh_CN.UTF-8' >> ~/.zshrc echo -e 'export LC_CTYPE="zh_CN.UTF-8"' >> ~/.zshrc ##################################### echo -e 'export yourpath=/Users/user/Documents/userpath' >> ~/.zshrc ##################################### echo -e 'export PATH=$PATH:$yourpath/path' >> ~/.zshrc echo -e 'export PATH=$PATH:$yourpath/java/maven/bin' >> ~/.zshrc echo -e 'alias proxy="export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890"' >> ~/.zshrc echo -e 'alias unproxy="export https_proxy= http_proxy= all_proxy="' >> ~/.zshrc echo -e 'alias testip="curl cip.cc"' >> ~/.zshrc # mac os echo -e 'alias subline="/usr/bin/open -a Sublime\ Text [email protected]"' >> ~/.zshrc echo -e 'alias typora="/usr/bin/open -a Typora [email protected]"' >> ~/.zshrc echo -e 'alias sqlmap="python3 $yourpath/sqlmap/sqlmap.py [email protected]"' >> ~/.zshrc
边栏推荐
- Programmation défensive en langage C dans le développement intégré
- Regular expressions are actually very simple
- Random notes
- Why can't TN-C use 2p circuit breaker?
- Oom happened. Do you know the reason and how to solve it?
- 通过bat脚本配置系统环境变量
- Summary of May training - from a Guang
- 在CANoe中通过Panel面板控制Test Module 运行(高级)
- Keep these four requirements in mind when learning single chip microcomputer with zero foundation and avoid detours
- 33岁可以学PLC吗
猜你喜欢
CANoe不能自动识别串口号?那就封装个DLL让它必须行
MapReduce instance (x): chainmapreduce
51单片机进修的一些感悟
发生OOM了,你知道是什么原因吗,又该怎么解决呢?
Some thoughts on the study of 51 single chip microcomputer
CANoe的数据回放(Replay Block),还是要结合CAPL脚本才能说的明白
一大波開源小抄來襲
五月集训总结——来自阿光
Une grande vague d'attaques à la source ouverte
Interview shock 62: what are the precautions for group by?
随机推荐
Mapreduce实例(十):ChainMapReduce
Several ways of MySQL database optimization (pen interview must ask)
Programmation défensive en langage C dans le développement intégré
C杂讲 文件 续讲
[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
O & M, let go of monitoring - let go of yourself
May brush question 27 - figure
Which is the better prospect for mechanical engineer or Electrical Engineer?
Elk project monitoring platform deployment + deployment of detailed use (II)
Single chip microcomputer realizes modular programming: Thinking + example + system tutorial (the degree of practicality is appalling)
Hugo blog graphical writing tool -- QT practice
Mapreduce实例(四):自然排序
51单片机进修的一些感悟
What you have to know about network IO model
Scoped in webrtc_ refptr
Mapreduce实例(八):Map端join
[deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
51单片机进修的一些感悟
Vh6501 Learning Series
33岁可以学PLC吗