Improve scripts
This commit is contained in:
parent
f94f6a1c60
commit
b5764c0376
8 changed files with 28 additions and 16 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
base_path="$HOME/.cache/remote-sources"
|
||||
mkdir -p "$base_path"
|
||||
file_path="$base_path/$1"
|
||||
|
@ -7,5 +9,3 @@ then
|
|||
curl -Ls -o "$file_path" "$2"
|
||||
fi
|
||||
source $file_path
|
||||
|
||||
# vim: ft=bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue