1 files changed,
38 insertions(+),
0 deletions(-)
Author:
Smirnov Aleksandr
50584123+Smirnov-O@users.noreply.github.com
Committed by:
GitHub
noreply@github.com
Committed at:
2020-05-12 22:58:08 +0300
Parent:
1106be8
A
install.sh
ยทยทยท 1 +#!/bin/bash 2 +read -p "Enter user path: " PATH_HOME 3 + 4 +echo "Install program" 5 +sudo apt-get install vim git bash tmux zsh curl 6 + 7 +echo "Move settings git" 8 +mv gitconfig PATH_HOME/.gitconfig 9 + 10 +echo "Vim configuration" 11 +mv vimrc PATH_HOME/.vimrc 12 +curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ 13 + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim 14 +vim +PATH_HOME/.vimrc +PlugInstall 15 + 16 +echo "Move settings bash" 17 +mv bashrc PATH_HOME/.bashrc 18 + 19 +echo "TMUX" 20 +git clone https://github.com/gpakosz/.tmux.git 21 +mv ~/.tmux/.tmux.conf ~ 22 +mv ~/.tmux/.tmux.conf.local ~ 23 +rm -rf ~/.tmux 24 + 25 +echo "ZSH" 26 +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 27 + 28 +echo "alias cls='clear'" >> PATH_HOME/.zshrc 29 +echo "alias sl='ls'" >> PATH_HOME/.zshrc 30 +echo "alias cd..='cd ..'" >> PATH_HOME/.zshrc 31 +echo "alias cd..='cd ..'" >> PATH_HOME/.zshrc 32 +echo "alias py='python3'" >> PATH_HOME/.zshrc 33 +echo "alias py3='python3'" >> PATH_HOME/.zshrc 34 +echo "alias ipy='ipython3'" >> PATH_HOME/.zshrc 35 +echo "alias ipy='python3'" >> PATH_HOME/.zshrc 36 + 37 +set -i "s~ZSH_THEME="robbyrussell"~ZSH_THEME="bureau"~g" PATH_HOME/.zshrc 38 +set -i "s~plugins=(git)~plugins=(autopep8 djando pip systemd debian git tmux docker ansible)~g" PATH_HOME/.zshrc