Skip to content

dafang/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles with fresh

Install and configure fresh

bash -c "`curl -sL get.freshshell.com`"

This will:

  • Create a ~/.fresh directory.
  • Clone the latest version of fresh into ~/.fresh/source/freshshell/fresh.
  • Create a ~/.freshrc file.

You will need to manually add source ~/.fresh/build/shell.sh to your shell config.

Install vim-plug

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

Install oh-my-zsh and zgen

Install oh-my-zsh:

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

The oh-my-zsh is leverage the zgen to manage the zsh plugins. No need to install zgen as our dotfiles contains the zgen executor bin file.

Each time if you updated the .dotfiles/shell/oh-my-zsh/zshrc file, you need to run zgen reset then zgen save.

Clone my dotfiles

cd $HOME
git clone git@github.com:dafang/dotfiles.git .dotfiles

Then

rm -rf ~/.freshrc
ln -s ~/.dotfiles/freshrc ~/.freshrc
rm -rf ~/.zshrc

Then run fresh install to configure local shell environment.

Each time if you have modified the dotfiles, you can run fresh update to update them.

Install vim plugins

Run following commands:

vim

Then, :PlugInstall

Install powerline

See powerline

Then setup your iTerm fonts to one of the powwerline fonts:

powerline fonts

Install HomeBrew on Mac OS [Only required on Mac]

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then run ./brew.sh to install brew packages.

Useful tools

Thanks to:

About

Self maintained dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published