dot

packages and services management
Log | Files | Refs | README

commit 986d71742d9505e3d0aa6000df0aeb01c72b42ae
parent 01aa24e2f3ea04713b69400d83c869dd0a82a485
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue,  8 May 2018 04:25:43 +0200

root plan 9 directory

Diffstat:
Mconfigure | 58++++++++++++++++++++++++++++++----------------------------
Mprofile | 6++++--
2 files changed, 34 insertions(+), 30 deletions(-)

diff --git a/configure b/configure @@ -1,30 +1,32 @@ #!/bin/sh -ex -cd "${0%/*}" - -mkdir -p "$HOME/run" - -mkdir -p "$HOME/.config/enchive" -ln -fs /mnt/key/enchive.pub "$HOME/.config/enchive/enchive.pub" -ln -fs /mnt/key/enchive.sec "$HOME/.config/enchive/enchive.sec" - -mkdir -p "$HOME/.gnupg" -ln -fs /mnt/key/pubring.gpg "$HOME/.gnupg/pubring.gpg" -ln -fs /mnt/key/secring.gpg "$HOME/.gnupg/secring.gpg" - -mkdir -p "$HOME/.ssh" -cp "$PWD/ssh/authorized_keys" "$HOME/.ssh/authorized_keys" -ln -fs "$PWD/ssh/config" "$HOME/.ssh/config" - -mkdir -p "$HOME/.config" -ln -fs "$PWD/profile" "$HOME/.profile" -ln -fs "$PWD/mpoprc" "$HOME/.mpoprc" -ln -fs "$PWD/msmtprc" "$HOME/.msmtprc" -ln -fs "$PWD/xinitrc" "$HOME/.xinitrc" -ln -fs "$PWD/git" "$HOME/.config" - -! git clone git://josuah.net/conf.git "$HOME/conf" -! git clone git://josuah.net/pack.git "$HOME/pack" -! git clone git://josuah.net/svdir.git "$HOME/svdir" -! git clone git://josuah.net/bin.git "$HOME/bin" -! git clone git://github.com/9fans/plan9port.git "$HOME/plan9" +cd ${0%/*} + +mkdir -p $HOME/run + +mkdir -p $HOME/.config/enchive +ln -fs /mnt/key/enchive.pub $HOME/.config/enchive/enchive.pub +ln -fs /mnt/key/enchive.sec $HOME/.config/enchive/enchive.sec + +mkdir -p $HOME/.gnupg +ln -fs /mnt/key/pubring.gpg $HOME/.gnupg/pubring.gpg +ln -fs /mnt/key/secring.gpg $HOME/.gnupg/secring.gpg + +mkdir -p $HOME/.ssh +cp $PWD/ssh/authorized_keys $HOME/.ssh/authorized_keys +ln -fs $PWD/ssh/config $HOME/.ssh/config + +mkdir -p $HOME/.config +ln -fs $PWD/profile $HOME/.profile +ln -fs $PWD/mpoprc $HOME/.mpoprc +ln -fs $PWD/msmtprc $HOME/.msmtprc +ln -fs $PWD/xinitrc $HOME/.xinitrc +ln -fs $PWD/git $HOME/.config + +cd $HOME +! git clone git://josuah.net/conf.git +! git clone git://josuah.net/pack.git +! git clone git://josuah.net/svdir.git +! git clone git://josuah.net/bin.git + +! git clone git://github.com/9fans/plan9port.git /plan9 diff --git a/profile b/profile @@ -22,15 +22,17 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin export PATH=$HOME/bin:$PATH:/usr/X11R6/bin export MANPATH=/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man -ROOT=$HOME/.local +export ROOT=$HOME/.local export PATH=$ROOT/bin:$PATH export MANPATH=$MANPATH:$ROOT/share/man export LD_LIBRARY_PATH=$ROOT/lib -export PLAN9=$HOME/plan9 +export PLAN9=/plan9 export PATH=$PATH:$PLAN9/bin export MANPATH=$MANPATH:$PLAN9/man +export S9FES_LIBRARY_PATH=$ROOT/share/s9fes + export ABDUCO_CMD=dvtm-status export ABDUCO_SOCKET_DIR=/tmp