Skip to content
master
Switch branches/tags
Code
This branch is 159 commits ahead, 474 commits behind paulirish:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Armno's dotfiles

setting up

switch to zsh from bash

$ brew install zsh zsh-completions
$ sudo dscl . -create /Users/$USER UserShell /usr/local/bin/zsh

(ref: https://rick.cogley.info/post/use-homebrew-zsh-instead-of-the-osx-default/)

or just install oh-my-zsh and follow the instructions there.

$ cd ~/code
$ git clone git@github.com:armno/dotfiles.git

base16-shell

install it here

oh-my-zsh

modified cloud theme

use my customized theme based on "cloud" for oh-my-zsh. assuming oh-my-zsh is installed:

$ ln -s ~/code/dotfiles/cloud-armno.zsh-theme ~/.oh-my-zsh/themes/cloud-armno.zsh-theme

then change ZSH_THEME option in ~/.zshrc file to cloud-armno

vim

my vim setup requires ag and editorconfig, which can be installed by

$ brew install the_silver_searcher editorconfig

then set up vim and vundle.

$ ln -s ~/code/dotfiles/.vim ~/.vim
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
$ ln -s ~/code/dotfiles/.vimrc ~/.vimrc
$ vim +PluginInstall +qall

adding new plugin / updating existing plugins, see Vundle

vscode

enable key-repeat for vscode insiders (with vim extenstion)

$ defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false
$ defaults delete -g ApplePressAndHoldEnabled

go to System Preferences > Keyboard. Set Key Repeat to be fastest and Delay Until Report to be shortest.

don't forget to add 'markdown' in the config after installed Prettier:

"prettier.disabledLanguages": [
  "markdown"
]

git

$ brew install diff-so-fancy
  • create symlinks for global config file and commit template
$ ln -s ~/code/dotfiles/.gitconfig ~/.gitconfig
$ ln -s ~/code/dotfiles/.gitmessage ~/.gitmessage

osx

(this doesn't do anything i think. it just creates a symlink without actually run the commands inside.)

$ ln -s ~/code/dotfiles/.osx ~/.osx
$ killall SystemUIServer

aliases, functions

$ ln -s ~/code/dotfiles/.aliases ~/.aliases
$ ln -s ~/code/dotfiles/.functions ~/.functions

add in ~/.zshrc file

source ~/.aliases
source ~/.functions

ag

ag's ignored patterns. normally ag ignores patterns in .gitignore file but still, there are some files in the repo that shouldn't show up in CtrlP.

$ ln -s ~/code/dotfiles/.agignore ~/.agignore

Remove 'Last Login' message

$ touch ~/.hushlogin

z

  1. Clone z to /Users/armno/code/z.
  2. Add z at the top of ~/.zshrc file.
. /Users/armno/code/z/z.sh
# ...

bat

bat another kind of cat.

$ brew install bat

fzf

shamelessly stole preview alias from Remy Sharp's "CLI: Improved" post.

$ brew install fzf

About

my dotfiles that work for me

Resources

Releases

No releases published

Packages

No packages published