dotfiles/README.md
Smirnov Oleksandr 0de814c8aa
Update README.md
2020-04-08 16:42:19 +03:00

1.2 KiB

Dotfiles

Config for

  • GIT
  • VIM
  • NANO
  • BASH
  • TMUX
  • ZSH

Git

Move settings git

mv gitconfig ~/.gitconfig

Vim

Move settings vim

mv vimrc ~/.vimrc

Instlling vim-plug

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Open vim and enter

:source ~/.vimrc
:PlugInstall

Nano

Move settings nano

sudo mv nanorc /etc/nanorc

Tmux

Installing Oh My TMUX

git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .

Zsh

Installing Oh my zsh

sudo apt-get install zsh curl git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Configuring zsh

  • Theme
vim ~/.zshrc
	ZSH_THEME="bureau"
  • Plugins
vim ~/.zshrc
	plugins=( autopep8 djando pip systemd debian git tmux docker ansible golang )
  • Alias
vim ~/.zshrc
	alias cls='clear'
	alias sl='ls'
	alias cd..='cd ..'
	alias py='python3'
	alias py3='python3'
	alias py2='python2'