summarylogtreecommitdiffstats
path: root/install.sh.wrapper
blob: 4eaa5bcdcaff4676b958be13f12e1e6b57258d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env sh
set -e

if [[ "$(whoami)" != "$(logname)" ]]; then
  echo >&2 'This command will install files into your' \
    'home directory. It must be run without sudo.'
  exit 1
fi

cp -ruvP --preserve=mode,links -t ~/ \
  "/usr/share/bash-it-git/home_factory/.bash_it"

cd ~/.bash_it
./install.sh "$@"