-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_bash_it.sh
executable file
·39 lines (29 loc) · 1.1 KB
/
install_bash_it.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env bash
echo "*** Installing bash-it with some sensible defaults"
export BASH_IT="$HOME/.bash_it"
if [ ! -d "$BASH_IT" ]; then
git clone https://github.com/bash-it/bash-it.git "$BASH_IT"
fi
# shellcheck disable=SC1091
source "$BASH_IT"/bash_it.sh
# Completions
bash-it enable completion makefile pip ssh system \
docker defaults bash-it
# Plugins
bash-it enable plugin base browser \
edit-mode-emacs gif git history less-pretty-cat fasd python ruby ssh virtualenv fzf
# Aliases
bash-it enable alias ag apt vim git general fuck tmux \
homesick curl
[[ "$OSTYPE" == "darwin"* ]] && bash-it enable completion homebrew homebrew-cask
echo "*** More options I can recommend if relevant for you:"
echo "bash-it enable completion tmux git_flow docker-compose dirs awscli \\
terraform gem"
echo
echo "bash-it enable plugin dirs battery docker docker-compose gif less-pretty-cat \\
tmux z_autoenv hub fzf aws docker-machine osx-timemachine powerline"
echo
echo "bash-it enable alias docker emacs atom fuck tmux osx"
~/bin/imgcat ~/.homesick/repos/dotfiles/images/MasterNods.gif
echo
echo "Done..."