set homedir

This commit is contained in:
j3d1 2022-05-06 00:22:39 +02:00
parent 46c2f79a6d
commit 737f41734f

View file

@ -166,6 +166,8 @@ function second_stage(){
function user_install(){ function user_install(){
set -e set -e
export HOME=~jedi/
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i/home/jedi/.ssh/id_rsa" 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 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/interface/icon-theme "'Adwaita'" || true
dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-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 git clone https://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
chmod 0755 $HOME/.oh-my-zsh chmod 0755 $HOME/.oh-my-zsh
chown -R jedi:jedi $HOME chown -R jedi:jedi $HOME
cd
rsync -a /root/unbox_data/secrets/SSH/ /home/jedi/.ssh/ rsync -a /root/unbox_data/secrets/SSH/ /home/jedi/.ssh/
git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools