当前位置:网站首页>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-highlightingzsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsplug
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
边栏推荐
猜你喜欢

Selection of software load balancing and hardware load balancing

Compilation of libwebsocket

Workflow - activiti7 environment setup

Segmentation sémantique de l'apprentissage profond - résumé du code source

解决小文件处过多

听哥一句劝,按这套嵌入式的课程内容和课程体系去学习

大学C语言入门到底怎么学才可以走捷径

Regular expressions are actually very simple

CAPL 脚本对.ini 配置文件的高阶操作
![《ASP.NET Core 6框架揭秘》样章发布[200页/5章]](/img/4f/5688c391dd19129d912a3557732047.jpg)
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
随机推荐
[Yu Yue education] reference materials of complex variable function and integral transformation of Shenyang University of Technology
一大波開源小抄來襲
Scoped in webrtc_ refptr
DCDC power ripple test
Why can't TN-C use 2p circuit breaker?
May brush question 26 - concurrent search
Combined search /dfs solution - leetcode daily question - number of 1020 enclaves
Defensive C language programming in embedded development
一大波开源小抄来袭
[deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
May brush question 01 - array
硬件工程师的真实前途我说出来可能你们不信
Use of activiti7 workflow
[untitled]
Webrtc blog reference:
Delayed note learning
One article read, DDD landing database design practice
There are software load balancing and hardware load balancing. Which one to choose?
How can I take a shortcut to learn C language in college
Some thoughts on the study of 51 single chip microcomputer