mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
74 lines
1.2 KiB
Markdown
74 lines
1.2 KiB
Markdown
# Dotfiles
|
|
|
|
Config for
|
|
- GIT
|
|
- VIM
|
|
- NANO
|
|
- BASH
|
|
- TMUX
|
|
- ZSH
|
|
|
|
#### 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
|
|
~~~
|
|
|
|
#### Nano
|
|
Move settings nano
|
|
~~~bash
|
|
sudo mv nanorc /etc/nanorc
|
|
~~~
|
|
|
|
#### Tmux
|
|
Installing [Oh My TMUX](https://github.com/gpakosz/.tmux)
|
|
~~~bash
|
|
git clone https://github.com/gpakosz/.tmux.git
|
|
ln -s -f .tmux/.tmux.conf
|
|
cp .tmux/.tmux.conf.local .
|
|
~~~
|
|
|
|
#### 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 golang )
|
|
~~~
|
|
- Alias
|
|
~~~bash
|
|
vim ~/.zshrc
|
|
alias cls='clear'
|
|
alias sl='ls'
|
|
alias cd..='cd ..'
|
|
alias py='python3'
|
|
alias py3='python3'
|
|
alias py2='python2'
|
|
~~~
|