当前位置:网站首页>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
边栏推荐
- Vh6501 Learning Series
- CANoe的数据回放(Replay Block),还是要结合CAPL脚本才能说的明白
- Combined search /dfs solution - leetcode daily question - number of 1020 enclaves
- Hugo blog graphical writing tool -- QT practice
- [Yu Yue education] reference materials of power electronics technology of Jiangxi University of science and technology
- CAPL script pair High level operation of INI configuration file
- 机械工程师和电气工程师方向哪个前景比较好?
- CANoe不能自动识别串口号?那就封装个DLL让它必须行
- Processes of libuv
- Une grande vague d'attaques à la source ouverte
猜你喜欢
[Yu Yue education] Wuhan University of science and technology securities investment reference
Some thoughts on the study of 51 single chip microcomputer
Learning SCM is of great help to society
C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
Mapreduce实例(四):自然排序
[deep learning] semantic segmentation - source code summary
面试突击62:group by 有哪些注意事项?
MapReduce instance (x): chainmapreduce
Hard core! One configuration center for 8 classes!
Cap theory
随机推荐
Compress decompress
【深度学习】语义分割:论文阅读(NeurIPS 2021)MaskFormer: per-pixel classification is not all you need
零基础学习单片机切记这四点要求,少走弯路
June brush question 01 - array
068. Find the insertion position -- binary search
为什么大学单片机课上51+汇编,为什么不直接来STM32
Processes of libuv
Use of activiti7 workflow
Yarn organizational structure
51单片机进修的一些感悟
Cooperative development in embedded -- function pointer
Summary of May training - from a Guang
Hard core! One configuration center for 8 classes!
Selection of software load balancing and hardware load balancing
嵌入式开发中的防御性C语言编程
Compilation of libwebsocket
CANoe仿真功能之自动化序列(Automation Sequences )
Oom happened. Do you know the reason and how to solve it?
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
机械工程师和电气工程师方向哪个前景比较好?