This commit is contained in:
parent
14365754b6
commit
d018e1d688
|
@ -3,10 +3,10 @@
|
|||
# cd /root/
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
|
||||
# echo y|sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
chsh -s $(which zsh)
|
||||
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="pygmalion"/g' /root/.zshrc
|
||||
echo 'export PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address)' >> /root/.zshrc
|
||||
echo 'export PUBLIC_IPV6=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv6/address)' >> /root/.zshrc
|
||||
# chsh -s $(which zsh)
|
||||
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="pygmalion"/' /root/.zshrc
|
||||
# echo 'export PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address)' >> /root/.zshrc
|
||||
# echo 'export PUBLIC_IPV6=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv6/address)' >> /root/.zshrc
|
||||
|
||||
# ## Install Plugins
|
||||
# ## Auto Suggestions
|
||||
|
@ -18,7 +18,7 @@ echo 'export PUBLIC_IPV6=$(curl -s http://169.254.169.254/metadata/v1/interfaces
|
|||
# git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
||||
|
||||
## Enable plugins
|
||||
sed -i 's\plugins=(git)\plugins(git, cp, colored-man-pages, docker, docker-compose, extract, iterm2, python, rsync, safe-paste, transfer, ubuntu, zsh_reload, zsh-navigation-tools)\' /root/.zshrc
|
||||
# sed -i 's\plugins=(git)\plugins(git cp colored-man-pages docker docker-compose extract iterm2 python rsync safe-paste transfer ubuntu zsh_reload zsh-navigation-tools)\' /root/.zshrc
|
||||
|
||||
|
||||
## Cleanup
|
||||
|
|
Loading…
Reference in New Issue