From 737f41734ff9acc959c5f39f5591a9e5ad84c057 Mon Sep 17 00:00:00 2001 From: jedi Date: Fri, 6 May 2022 00:22:39 +0200 Subject: [PATCH] set homedir --- entry.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/entry.sh b/entry.sh index 8ecc82a..a6a4b82 100755 --- a/entry.sh +++ b/entry.sh @@ -166,6 +166,8 @@ function second_stage(){ function user_install(){ set -e + export HOME=~jedi/ + export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i/home/jedi/.ssh/id_rsa" export XDG_RUNTIME_DIR=/run/user/1000 @@ -175,12 +177,12 @@ function user_install(){ dbus-launch dconf write /org/mate/desktop/interface/icon-theme "'Adwaita'" || true dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'" || true + cd + git clone https://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh chmod 0755 $HOME/.oh-my-zsh chown -R jedi:jedi $HOME - cd - rsync -a /root/unbox_data/secrets/SSH/ /home/jedi/.ssh/ git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools