blob: edffc24120d809afd29a70af0f9eae1201d700fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env sh
set -e
if [[ "$(whoami)" != "$(logname 2>/dev/null)" ]]; then
echo >&2
echo >&2 'This command will install files into your' \
'home directory. It must be run *without* sudo.'
if pacman -Q tmux >/dev/null 2>&1; then
echo >&2 'Also, this installer does *not* support tmux sessions.'
echo >&2 'Please detach from tmux; you can re-attach' \
'after this command has finished running.'
fi
exit 1
fi
cp -ruvP --preserve=mode,links -t ~/ \
"/usr/share/bash-it-git/home_factory/.bash_it"
cd ~/.bash_it
./install.sh "$@"
|