Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
download promptless to ~
Browse files Browse the repository at this point in the history
  • Loading branch information
kiedtl authored May 28, 2019
1 parent 4e98442 commit 4a19d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ download() {
url="https://raw.githubusercontent.com/dylanaraps/promptless"
url="${url}/master/promptless.sh"

curl "$url" > promptless.sh || {
curl "$url" > ~/promptless.sh || {
printf '%s\n' "error: Couldn't download promptless." >&2
exit 1
}
Expand All @@ -23,7 +23,7 @@ main() {
download
get_shell

printf '%s\n' ". '${PWD}/promptless.sh'" >> "$rc"
printf '%s\n' ". '~/promptless.sh'" >> "$rc"
printf '%s\n' "Installation complete. Relaunch your shell."
}

Expand Down

0 comments on commit 4a19d8b

Please sign in to comment.