-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdfInstall
More file actions
executable file
·33 lines (28 loc) · 952 Bytes
/
dfInstall
File metadata and controls
executable file
·33 lines (28 loc) · 952 Bytes
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
#!/bin/sh
#
# dfInstall: POSIX shell scripts to install an entire Linux desktop
# environment into a user's $HOME directory.
#
# usage: dfInstall [ --install | --check | --remove | --clean | --nuke ]
#
# where --install: installs dotfiles into $HOME
# --check: checks what was installed
# --remove: generally removes what was installed
# --clean: like above but tries to conservatively clean things up
# --nuke: like above but deletes even manually installed things
#
# shellcheck shell=dash
#
export scriptName=dfInstall
home="${DOTFILES_GIT_REPO:=~/devel/dotfiles}"/home
cd "$home" 2>/dev/null || {
printf '\n%s: Error - failed to cd into "%s"\n\n' "$scriptName" "$home"
return 1
}
export DF_ACTION=''
. ../bin/parse_cmdline_and_source_functions.sh
# Install dotfiles in parallel
(. ../bin/nvimInstall) &
(. ../bin/fishInstall) &
(. ../bin/develInstall) &
wait