/dotfiles

Inintialize linux home directory with dot files, such as .vimrc, .tmux.conf, .zshrc, .bashrc

Primary LanguageShellMIT LicenseMIT

install

$ git clone https://github.com/yuweijun/dotfiles.git
$ cd dotfiles
$ ./install.sh

git submodule support problem for old git version

update git on centos

centos 6.5

$ yum install -y http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm

centos 7

$ yum install -y http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm

github unable to access SSL connect error

$ yum update -y nss curl libcurl

install new git vertion

$ yum install -y git

install homebrew on Mac OS X

$ os/macosx.sh

install GNU ls and sed for Mac OS X

$ brew install coreutils gnu-sed

optional for MacOS installing extra applications

$ cd os
$ brew bundle

optional for MacOS import Terminal.app colorscheme

  1. Double click on selected Dark Pastel.terminal file. It will open a new Terminal window with that color scheme, or execute those below commands in terminal:

    $ open os/macos-terminal-themes $ open 'Dark Pastel.terminal'

  2. Set the scheme as the default one with Shell -> Use Settings as Default.

  3. Change Dark pastel profile theme, text font using Hack Nerd Font and set font size as 16.

optional install karabiner config for MacOS

$ brew cask install karabiner-elements
$ config/karabiner.sh

optional install hammerspoon config for MacOS

$ brew cask install hammerspoon
$ config/hammerspoon.sh

optional install applications and screensavers for MacOS

$ brwe tap "homebrew/cask"
$ brew cask install iterm2
$ brew cask install google-chrome
$ brew cask install fliqlo clocksaver
$ xattr -rc "$HOME/Library/Screen Savers"

optional install fonts for MacOS

$ brew tap "homebrew/cask-fonts"
$ brew cask install font-dejavu-sans-mono-for-powerline
$ brew cask install font-menlo-for-powerline
$ brew cask install font-meslo-for-powerline
$ brew cask install font-source-code-pro-for-powerline
$ brew cask install font-meslo-nerd-font-mono
$ brew cask install font-droid-sans-mono-for-powerline
$ brew cask install font-fira-mono-for-powerline
$ brew cask install font-fira-code
$ brew cask install font-firacode-nerd-font-mono
$ brew cask install font-fontawesome font-awesome-terminal-fonts