- OS Details
- OSX / Linux (Debian-style) / Windows (cygwin)
- Windows (Command shell and Powershell)
- Credits
- OSX - OSX Snow Leopard (10.5) onward.
- Linux - Debian distros (Ubuntu, etc.).
- Windows - babun shell (pre-configured Cygwin with Zsh), Command shell, and Powershell
- Aliases
- Functions
- Shell options: Bash / Zsh
- Shell theme: Bash / Zsh
- Zsh configuration
- Git configuration
- Tmux configuration
- Vim configuration
- SublimeText configuration
The setup script will configure shell options, theme, aliases, and functions. The setup script will ask whether to run each of the optional steps. There is option to change the default shell to Zsh.
Note: Dotfiles default location is $HOME/dotfiles. If yo want to change it, specify a different directory prior to running the setup scripts by setting the dotdir variable:
export dotdir=$HOME/path/to/my/dotfiles
curl https://raw.githubusercontent.com/jivkok/dotfiles/master/setup.sh | bash
# OSX
cd $HOME
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # Homebrew
brew install git
git clone https://github.com/jivkok/dotfiles.git dotfiles
source dotfiles/setup_osx.sh
# Linux (Debian-style)
cd $HOME
sudo apt-get install git
git clone https://github.com/jivkok/dotfiles.git dotfiles
source dotfiles/setup_debian.sh
# Windows (cygwin)
cd $HOME
git clone https://github.com/jivkok/dotfiles.git dotfiles
source dotfiles/setup_babun.sh
- configure_brackets.sh: text editor for web development
- configure_databases.sh: MySQL, PostgreSQL, MongoDB, Redis, and ElasticSearch
- configure_dotnet.sh: .Net framework
- configure_git.sh: Git DVCS
- configure_nodejs.sh: NodeJS runtime environment
- configure_python.sh: Python programming language
- configure_ruby.sh: Ruby programming language
- configure_sublimetext.sh: multi-purpose text editor
- configure_vim.sh: highly configurable text editor
- configure_zsh.sh: ZShell
If $HOME/.path
exists, it will be sourced along with the other files.
Here is an example ~/.path
file that adds /usr/local/bin
to $PATH
:
export PATH="/usr/local/bin:$PATH"
If $HOME/.profile.local
exists, it will be sourced along with the other files. You can use this to add custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.
Since $HOME/.profile.local
is sourced at the end, it allows for overriding of existing settings, functions, and aliases.
- Security & Privacy:
- General:
- Require password immediately after sleep or screen saver begins.
- Show contact info when screen is locked.
- Allow apps downloaded from App Store and identified developers.
- FileVault:
- Enable FileVault and save the recovery key in a secure location.
- Firewall:
- Enable it.
- Automatically allow signed software.
- Enable stealth mode.
- Privacy:
- Apps like Alfred, Dropbox, etc. will need to be enabled for accessibility.
- General:
- Printers & Scanners:
- Add them.
- iCloud:
- Enable Find My Mac.
- Users & Groups:
- Update avatar.
cd ~/dotfiles
git pull
- Packages with Chocolatey
- Command shell / Powershell setup
- Console configuration
- Command shell configuration
- Powershell configuration
The setup script will install packages with Chocolatey, configure a multi-tabbed console and its desktop shortcut, configure system options, theme, aliases, and functions.
Note: run the shell commands from elevated shell.
Open http://j.mp/jivkokshell in Internet Explorer or Edge. Same as:
START http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/jivkok/Chocolatey-Packages/master/jivkok.Shell/shell.boxstarter.ps1
rem With Command shell:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jivkok/dotfiles/master/setup_windows.ps1'))"
# With Powershell:
Set-ExecutionPolicy Bypass
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jivkok/dotfiles/master/setup_windows.ps1'))
rem With Command shell:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
cinst jivkok.shell -y -source http://www.myget.org/F/jivkok-chocolatey
# With Powershell:
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
cinst jivkok.shell -y -source http://www.myget.org/F/jivkok-chocolatey
rem With Command shell:
git clone https://github.com/jivkok/dotfiles.git %USERPROFILE%\dotfiles
@powershell -NoProfile -ExecutionPolicy Bypass -File %USERPROFILE%\dotfiles\setup_windows.ps1
# With Powershell:
git clone https://github.com/jivkok/dotfiles.git $HOME\dotfiles
. $HOME\dotfiles\setup_windows.ps1
If custom profile script ( %USERPROFILE%\profile.cmd
for Command shell, $Home\profile.ps1
for Powershell ) exists, it will be included along with the other files. You can use this to add custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.
Since this local profile is included at the end, it allows for overriding of existing settings, functions, and aliases.
rem With Command shell:
cd /d %USERPROFILE%\dotfiles
git pull
# With Powershell:
cd $HOME\dotfiles
git pull
- Mathias Bynens for his dotfiles
- Balaji Srinivasan for his dotfiles
- Zeno Rocha for his Alfred workflows
- Rob Reynolds for Chocolatey.org
- Matt Wrock for boxstarter.org