feat: merge in one curlable file
This commit is contained in:
parent
d808dd6ae1
commit
86c6bfcc7a
15
config
15
config
@ -1,15 +0,0 @@
|
||||
passwd=termux
|
||||
|
||||
pkg=(
|
||||
7zip
|
||||
bash-completion
|
||||
curl
|
||||
fastfetch
|
||||
fzf
|
||||
git
|
||||
jq
|
||||
manpages
|
||||
openssh
|
||||
pass
|
||||
python
|
||||
)
|
24
install.sh
24
install.sh
@ -1,18 +1,30 @@
|
||||
#!/bin/bash -e
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
. ./config
|
||||
pkg=(
|
||||
7zip
|
||||
bash-completion
|
||||
curl
|
||||
fastfetch
|
||||
fzf
|
||||
git
|
||||
jq
|
||||
manpages
|
||||
openssh
|
||||
pass
|
||||
python
|
||||
)
|
||||
|
||||
pkg upgrade -y
|
||||
pkg install -y "${pkg[@]}"
|
||||
|
||||
# shellcheck disable=SC2174
|
||||
mkdir -pm 0700 "$HOME/.ssh"
|
||||
echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDUccdlgUHzV+AhWDyjwcG4QwSNbybIV8MF7c6XpKQl4' >> "$HOME/.ssh/authorized_keys"
|
||||
curl https://yw5n.com/ssh >> "$HOME/.ssh/authorized_keys"
|
||||
|
||||
git clone --bare https://git.maby.dev/ange/.dotfiles.git ~/.dotfiles
|
||||
alias c='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
|
||||
c checkout -f
|
||||
c config status.showUntrackedFiles no
|
||||
git clone --depth 1 --bare https://git.maby.dev/ange/.dotfiles.git ~/.dotfiles
|
||||
git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" checkout -f
|
||||
git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" config status.showUntrackedFiles no
|
||||
|
||||
sed '/systemctl/d' "$HOME/.bash_profile"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user