Compare commits
No commits in common. "14c08f8b6c51b1ad58323f080f756a6e22fcc34e" and "cc6b56e7a7196661bf290e027dcce119d321a063" have entirely different histories.
14c08f8b6c
...
cc6b56e7a7
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
# Quickly setup user name and email.
|
||||
echo "Current name: $(git config user.name)"
|
||||
echo "Current email: $(git config user.email)"
|
||||
read -p "User name: " name
|
||||
git config user.name "$name"
|
||||
read -p "User email: " email
|
||||
|
|
16
install.sh
16
install.sh
|
@ -1,16 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
ensure_has() {
|
||||
if ! command -v "$1" > /dev/null; then
|
||||
echo "Can't find $1."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
ensure_has fdfind
|
||||
ensure_has fzf
|
||||
ensure_has install-script
|
||||
|
||||
fdfind -t x \
|
||||
| fzf -m --layout=reverse \
|
||||
| while read -r script; do install-script "$script"; done
|
Loading…
Reference in a new issue