dot

packages and services management
Log | Files | Refs | README

commit fef8fcda5bca7df08b98921bf48fb01b6d0ef943
parent 38504177d85b1d40925fcb803eb7ff756e954a84
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed,  9 May 2018 09:40:19 +0200

switch to rc as main shell

Diffstat:
Mconfigure | 4++--
Mprofile | 9++++-----
2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/configure b/configure @@ -31,7 +31,7 @@ cd $HOME ! git clone git://github.com/9fans/plan9port.git /plan9 -mkdir -p $HOME/.local/src /9base +mkdir -p $HOME/.local/src /9 ! git clone git://git.suckless.org/9base $HOME/.local/src/9base cd $HOME/.local/src/9base -make PREFIX=/9base install +make PREFIX=/9 install diff --git a/profile b/profile @@ -22,20 +22,20 @@ export LC_TIME=en_US.UTF-8 # Standard export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin -export PATH=$HOME/bin:$PATH:/usr/X11R6/bin +export PATH=$PATH:/usr/X11R6/bin export MANPATH=/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man # Packages export ROOT=$HOME/.local -export PATH=$ROOT/bin:$PATH +export PATH=$HOME/bin:$ROOT/bin:$PATH export MANPATH=$MANPATH:$ROOT/share/man export LD_LIBRARY_PATH=$ROOT/lib # Plan9 export PLAN9=/plan9 -export PATH=$PATH:/9base:$PLAN9/bin +export PATH=$PATH:/9/bin:$PLAN9/bin export MANPATH=$MANPATH:$PLAN9/man # Programs @@ -54,5 +54,4 @@ export SVDIR="$HOME/run" # Shell export ENV=$HOME/.profile -export PS1=$([ "$(whoami)" = root ] && s='#' || s='$'; printf '%s' "$s ") -[ "$TERM" = dumb ] || export PS1=$(printf '\033];$PWD/-$(uname -n)\a\r')$PS1 +command -v rc >/dev/null && command -v rlwrap >/dev/null && exec shell