Update dotfiles/.profile
This commit is contained in:
parent
afa3ed3a0a
commit
b48d1309bf
1 changed files with 12 additions and 0 deletions
|
@ -96,6 +96,18 @@ provision () {
|
|||
fi
|
||||
}
|
||||
|
||||
# Run the quickstart script
|
||||
quickstart() {
|
||||
if type qvm-run &> /dev/null; then
|
||||
qvm-run --pass-io personal "curl -sSL https://install.doctor/qubes" > "$HOME/setup.sh" && bash "$HOME/setup.sh"
|
||||
elif [ -d '/Applications' ] && [ -d '/Users' ] && [ -d '/Library' ]; then
|
||||
curl -sSL https://install.doctor/quickstart > "$HOME/setup.sh" && bash "$HOME/setup.sh"
|
||||
elif [ -f '/etc/os-release' ]; then
|
||||
curl -sSL https://install.doctor/quickstart > "$HOME/setup.sh" && bash "$HOME/setup.sh"
|
||||
fi
|
||||
rm -f "$HOME/setup.sh"
|
||||
}
|
||||
|
||||
# Generate a random string of X length
|
||||
randomstring() {
|
||||
if [ -z "$1" ]; then
|
||||
|
|
Loading…
Reference in a new issue