X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/c3608beb1b6da54f2e7b489571b750f582338f9f..1118e1eeb0440e0058c0840588e9afdd54f709ea:/install.sh diff --git a/install.sh b/install.sh index 886eb1e..85774a0 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,8 @@ fi # create preferred folder structure cd ~ -mkdir -p bin etc share share/fonts .urxvt/ext .icons .themes .gnupg .ssh >$devnull 2>&1 +mkdir -p bin etc share share/fonts .urxvt/ext \ + .icons .themes .gnupg .ssh .termux >$devnull 2>&1 mkdir -pm 700 var/tmp var/tmp/vim >$devnull 2>&1 cd - >$devnull @@ -78,6 +79,8 @@ if which gpg >/dev/null 2>&1; then gpg --import "$x" done fi -find ssh -mindepth 1 -maxdepth 1 | while read -r x; do - l "$HOME/.ssh/`basename "$x"`" +for y in ssh termux; do + find $y -mindepth 1 -maxdepth 1 | while read -r x; do + l "$HOME/.$y/`basename "$x"`" + done done