1
0
Fork 0
Scripts/install-scripts.sh

10 lines
346 B
Bash
Raw Normal View History

2022-10-01 16:29:32 +02:00
#!/bin/bash
# Install scripts from this repo using our neighbour paf.sh.
# Requires fdfind and fzf to work.
script_dir="$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
paf="$script_dir/paf.sh"
fdfind -t x | fzf --multi --layout=reverse --header="Pick scripts to install" \
| while read -r script; do "$paf" "$script"; done