diff options
Diffstat (limited to '.config/yadm/bootstrap')
| -rwxr-xr-x | .config/yadm/bootstrap | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index f1e3267..372735d 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -1,8 +1,14 @@ #!/bin/sh + cd "$(dirname "$0")" . "$HOME/.profile" . ./lib/bootstrap +# never use custom locale in TTY/logs +export LANG=C + +alias s=silent + # ensure required packages are installed begintask "installing packages" "$XDG_CONFIG_HOME/yadm/install-arch" > pkgs.log 2>&1 @@ -43,13 +49,13 @@ endtask begintask "building st (terminal) from source" mkdir -p ~/.local cd ~/.local - s git clone --depth 1 https://git.pipeframe.xyz/lonkaars/st + s git clone --depth 1 https://git.pipeframe.xyz/fork/st cd st s make -j endtask ) -[ "$(find ~/.ssh -name 'id*' | wc -l)" -eq 0 ] && ( +[ "$(find ~/.ssh -name 'id*' 2>/dev/null | wc -l)" -eq 0 ] && ( begintask "generating ssh keys" s ssh-keygen -q -N "" < /dev/zero endtask |