mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update README.md
This commit is contained in:
parent
bf1f0ea9ce
commit
896f51178e
1 changed files with 15 additions and 94 deletions
105
README.md
105
README.md
|
|
@ -1,98 +1,19 @@
|
||||||
# Dot files
|
# Dot files
|
||||||
Config for
|
|
||||||
- GIT
|
|
||||||
- VIM
|
|
||||||
- BASH
|
|
||||||
- TMUX
|
|
||||||
- ZSH
|
|
||||||
|
|
||||||
## Install my config
|
Config for
|
||||||
Script
|
|
||||||
|
- Git
|
||||||
|
- Vim
|
||||||
|
- Bash
|
||||||
|
- Tmux
|
||||||
|
- Zsh
|
||||||
|
|
||||||
|
### Install
|
||||||
|
|
||||||
~~~bash
|
~~~bash
|
||||||
|
git clone https://github.com/Smirnov-O/dotfiles
|
||||||
|
cd dotfiles
|
||||||
chmod +x install.sh
|
chmod +x install.sh
|
||||||
./install.sh
|
./install.sh
|
||||||
|
vim +source~/.vimrc +PlugInstall
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
### Or
|
|
||||||
|
|
||||||
#### Git
|
|
||||||
Move settings git
|
|
||||||
~~~bash
|
|
||||||
mv gitconfig ~/.gitconfig
|
|
||||||
~~~
|
|
||||||
|
|
||||||
#### Vim
|
|
||||||
Move settings vim
|
|
||||||
~~~bash
|
|
||||||
mv vimrc ~/.vimrc
|
|
||||||
~~~
|
|
||||||
Instlling [vim-plug](https://github.com/junegunn/vim-plug)
|
|
||||||
~~~bash
|
|
||||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
||||||
~~~
|
|
||||||
Open vim and enter
|
|
||||||
~~~vim
|
|
||||||
:source ~/.vimrc
|
|
||||||
:PlugInstall
|
|
||||||
~~~
|
|
||||||
|
|
||||||
#### BASH
|
|
||||||
Move setting bash
|
|
||||||
~~~bash
|
|
||||||
mv bashrc ~/.bashrc
|
|
||||||
~~~
|
|
||||||
|
|
||||||
#### Tmux
|
|
||||||
Installing [Oh My TMUX](https://github.com/gpakosz/.tmux)
|
|
||||||
~~~bash
|
|
||||||
git clone https://github.com/gpakosz/.tmux.git
|
|
||||||
mv ~/.tmux/.tmux.conf ~
|
|
||||||
mv ~/.tmux/.tmux.conf.local ~
|
|
||||||
rm -rf ~/.tmux
|
|
||||||
~~~
|
|
||||||
|
|
||||||
#### Zsh
|
|
||||||
Installing [Oh my zsh](https://github.com/ohmyzsh/ohmyzsh)
|
|
||||||
~~~bash
|
|
||||||
sudo apt-get install zsh curl git
|
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
||||||
~~~
|
|
||||||
|
|
||||||
Configuring zsh
|
|
||||||
- Theme
|
|
||||||
~~~bash
|
|
||||||
vim ~/.zshrc
|
|
||||||
ZSH_THEME="bureau"
|
|
||||||
~~~
|
|
||||||
- Plugins
|
|
||||||
~~~bash
|
|
||||||
vim ~/.zshrc
|
|
||||||
plugins=( autopep8 djando pip systemd debian git tmux docker ansible )
|
|
||||||
~~~
|
|
||||||
- Alias
|
|
||||||
~~~bash
|
|
||||||
vim ~/.zshrc
|
|
||||||
alias cls='clear'
|
|
||||||
alias sl='ls'
|
|
||||||
alias cd..='cd ..'
|
|
||||||
alias py='python3'
|
|
||||||
alias py3='python3'
|
|
||||||
alias py2='python2'
|
|
||||||
alias ipy='ipython3'
|
|
||||||
alias ipy3='ipython3'
|
|
||||||
alias ipy2='ipython2'
|
|
||||||
~~~
|
|
||||||
|
|
||||||
| Command | Art |
|
|
||||||
|------------|----------------------|
|
|
||||||
| cls | clear |
|
|
||||||
| py2/3 | python2/3 |
|
|
||||||
| ipy2/3 | ipython2/3 |
|
|
||||||
| ai | apt-get install |
|
|
||||||
| ar | apt-get remove |
|
|
||||||
| aplaybook | ansible-playbook |
|
|
||||||
| apull | ansible-pull |
|
|
||||||
| sc-stop | systemctl stop |
|
|
||||||
| sc-start | systemctl start |
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue