Skip to content

Instantly share code, notes, and snippets.

@milose
Last active October 20, 2016 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milose/bd5b927bb5cb09ae6dde to your computer and use it in GitHub Desktop.
Save milose/bd5b927bb5cb09ae6dde to your computer and use it in GitHub Desktop.
Installing and syncing bash_it between multiple computers

bash_it-settings

Custom themes (with bash_it) and aliases for development and vm boxes. To sync aliases just run bsync after installing.

Install bash_it

Clone the repository to get it:

git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it
~/.bash_it/install.sh

Or, if you already have bash_it, pull it to update:

cd ~/.bash_it && git pull

Get custom bash settings and aliases

Clone my repository or fork it and make your changes and customisations.

cd ~/.bash_it/custom
git init .
git remote add origin https://github.com/milose/bash_it-settings.git
git pull origin master

Reload the profile

reload

Change theme

# Debian / Ubuntu
nano ~/.bashrc
# Some other distros
nano ~/.profile
# Mac
nano ~/.bash_profile

Updating ailases

bsync
#!/usr/bin/env bash
export BASH_IT="/Users/milos/.bash_it"
export BASH_IT_THEME='bakke'
source $BASH_IT/bash_it.sh
published: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment