-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
39 lines (34 loc) · 1.52 KB
/
install.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
#!/bin/sh
#
# /\__/\ _____ _ _ _____ _
# /` '\ (_ _) ( ) ( ) (_ _) _ (_ )
# === 0 0 === | | _ _| |_ | |_ _ _| | __ _ __ ___ ___ (_) ___ _ _ | |
# \ -- / | | /'_` ) '_`\ | '_`\ ( ) ( ) | /'__`\ '__)' _ ` _ `\ |' _ `\ /'_` )| |
# / \ | |( (_| | |_) )| |_) )| (_) | |( ___/ | | ( ) ( ) | | ( ) |( (_| || |
# / \ (_)`\__,_)_,__/'(_,__/'`\__, |_)`\____)_) (_) (_) (_)_)_) (_)`\__,_)___)
# | | ( )_| |
# \ || || / `\___/'
# \_oo__oo_/#######o
#
# INSTALL SCRIPT
# -- view the full docs on github https://github.com/adammiller/TabbyTerminal
#
# save the cwd for returning the user to later
CWD=`pwd`
# Download and unpack the script
cd ~/Downloads && curl -sO https://raw.github.com/adammiller/TabbyTerminal/master/tabbyterminal.sh
echo "*** Downloading TabbyTerminal..."
# move the script to Library/Scripts/
mkdir -p ~/Library/Scripts/TabbyTerminal/
mv tabbyterminal.sh ~/Library/Scripts/TabbyTerminal/tabbyterminal.sh
echo "*** Installing to ~/Library/Scripts/TabbyTerminal/..."
echo "***"
echo "***"
echo "***"
echo "***"
echo "*** Install complete."
echo "***"
echo "*** Add the following alias to your .profile script or .dotfiles:"
echo "*** alias new='. ~/Library/Scripts/TabbyTerminal/tabbyterminal.sh'"
# Return the user to their previous cwd
cd $CWD