If you are using Ubuntu, install zsh:
sudo apt-get update
sudo apt install zsh
Either make zsh your default shell
chsh -s $(which zsh)
zsh
or just use the shell
zsh
Clone repository to your home directory:
git clone https://github.com/datarockets/dotfiles.git ~/.dotfiles
Install rcm
MacOS:
brew tap thoughtbot/formulae
brew install rcm
Ubuntu (19.04 or later):
sudo apt update
sudo apt install rcm
Ubuntu (12.04, 14.04, 16.04, 18.04, or 18.10):
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:martin-frost/thoughtbot-rcm
sudo apt-get update
sudo apt-get install rcm
env RCRC=$HOME/.dotfiles/rcrc rcup
Run rcup
to make symlinks from ~/.dotfiles directory to home directory. See more commands in tutorial: http://thoughtbot.github.io/rcm/rcm.7.html.
cd ~/.dotfiles
gup
rcup
Put your customizations in dotfiles appended with .local
:
.zshrc.local
.aliases.local
.gitconfig.local
.tmux.conf.local
Put your name and email to .gitconfig.local
:
[user]
name = Dmitry Zhlobo
email = [email protected]
Set Delete key sends ^H
and Allow application keypad mode
options to Esc+
like so: