This is a clone from @holman dotfiles + oh-my-zsh config + customizations.
I renamed in this project every occurrence of the variable ZSH
to ZSHDOT
, as pointed here, to avoid conflicts between dotfiles and oh-my-zsh.
git clone https://github.com/rafaeleyng/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
script/bootstrap
- zsh/zshrc.symlink: contains some important paths
- zsh/oh-my-zsh.zsh: oh-my-zsh config
- bin/dot: a simple script that installs some dependencies and sets OS X defaults. Run
dot
from time to time to keep your environment fresh and up-to-date.
- bin/: Anything in
bin/
will get added to your$PATH
and be made available everywhere. - topic/path.zsh: Any file named
path.zsh
is loaded first and is expected to setup$PATH
or similar. - topic/*.zsh: Any files ending in
.zsh
get loaded into your environment. - topic/completion.zsh: Any file named
completion.zsh
is loaded last and is expected to setup autocomplete. - topic/*.symlink: Any files ending in
*.symlink
get symlinked without extension into your$HOME
. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap
.
- nvm and node stable will be installed and used by default
- z
h <tab>
, similar toc <tab>
, a function to go to folders inside my~
folder (copied from @ryanb dotfiles)dev <tab>
, same asc <tab>
, but with thedev
folderzsh/prompt.zsh
overridesprompt_dir
(fromthemes/agnoster.zsh-theme
inside oh-my-zsh) function to display only the last part of current working directoryintellij
, to open current folder in IntelliJ IDEA in the smartest possible way (adapted from @chrisdarroch)rubymine
, to open current folder in RubyMine in the smartest possible way (adapted fromintellij
)chrome
to open it, or with filename to open the file in the browserwork
, a function that opens all the stuff I have to keep open at work
My terminal configurations follow this gist by @kevin-smets, but due to the overriden prompt_dir
function, it looks like this: