set homedir
This commit is contained in:
parent
46c2f79a6d
commit
737f41734f
1 changed files with 4 additions and 2 deletions
6
entry.sh
6
entry.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue