当前位置:网站首页>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
边栏推荐
- 51单片机进修的一些感悟
- [one click] it only takes 30s to build a blog with one click - QT graphical tool
- May brush question 03 - sorting
- 通过bat脚本配置系统环境变量
- Configure system environment variables through bat script
- Redis distributed lock implementation redison 15 questions
- MapReduce instance (x): chainmapreduce
- Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
- 在CANoe中通過Panel面板控制Test Module 運行(初級)
- Vs All comments and uncomments
猜你喜欢
The replay block of canoe still needs to be combined with CAPL script to make it clear
MapReduce instance (VIII): Map end join
Mapreduce实例(六):倒排索引
Design and implementation of online snack sales system based on b/s (attached: source code paper SQL file)
max-flow min-cut
MapReduce instance (x): chainmapreduce
嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
Some thoughts on the study of 51 single chip microcomputer
Combined search /dfs solution - leetcode daily question - number of 1020 enclaves
一大波开源小抄来袭
随机推荐
CANoe不能自动识别串口号?那就封装个DLL让它必须行
I2C summary (single host and multi host)
Une grande vague d'attaques à la source ouverte
在CANoe中通过Panel面板控制Test Module 运行(高级)
Single chip microcomputer realizes modular programming: Thinking + example + system tutorial (the degree of practicality is appalling)
Learning SCM is of great help to society
Redis distributed lock implementation redison 15 questions
Some thoughts on the study of 51 single chip microcomputer
The real future of hardware engineers may not be believed by you if I say so
CAPL script printing functions write, writeex, writelineex, writetolog, writetologex, writedbglevel do you really know which one to use under what circumstances?
Automation sequences of canoe simulation functions
Delayed note learning
【深度学习】语义分割:论文阅读:(2021-12)Mask2Former
Vh6501 Learning Series
CAP理论
MapReduce instance (x): chainmapreduce
Mapreduce实例(七):单表join
CANoe仿真功能之自动化序列(Automation Sequences )
Workflow - activiti7 environment setup
Interview shock 62: what are the precautions for group by?