Browse Source

cleanup

master
jcmdln 3 years ago
parent
commit
62341e524f
2 changed files with 8 additions and 8 deletions
  1. 5
    5
      etc/profile
  2. 3
    3
      gein.sh

+ 5
- 5
etc/profile View File

@@ -34,11 +34,11 @@ fi
# semantics.

if [ -e $BASH_VERSION ]; then
PS1="[\u@\h \w] \$ "
PS1="[\u@\h \W]\$ "
elif [ -e $ZSH_VERSION ]; then
PS1="[%n@%M %d] $ "
PS1="[%n@%M %d]$ "
else
PS1="[\u@\h \w] \$ "
PS1="[\u@\h \W]\$ "
fi


@@ -56,8 +56,8 @@ MANPATH="$MANPATH:$HOME/.local/man:$HOME/.local/share/man"
# This section defines our exports, including the PATH, MANPATH and PS1
# that we defined in previous sections.

export EDITOR="emacs -nw"
export HISTTIMEFORMAT= "(%m/%d/%y) %T "
export EDITOR="vi"
#export HISTTIMEFORMAT= "(%m/%d/%y) %T "
export LANG="en_US.UTF-8"
export MANPATH
export PAGER="$PAGER:-/usr/bin/less"

+ 3
- 3
gein.sh View File

@@ -190,7 +190,7 @@ BOOTSTRAP() {

echo "gein: Chroot'ing into /mnt/gentoo..."
chroot /mnt/gentoo /usr/bin/env -i \
HOME="/root" TERM="$TERM" PS1="[chroot \u@\h \w] $ " \
HOME="/root" TERM="$TERM" PS1="[chroot \u@\h \W]$ " \
PATH="/usr/local/sbin/:/usr/local/bin:/usr/sbin:/usr/bin" \
PATH="$PATH:/sbin:/bin:/opt/bin" \
MANPATH="/usr/man:/usr/share/man:/usr/local/man" \
@@ -225,7 +225,7 @@ MINIMAL() {
locale-gen && locale -a && eselect locale list
read -ep "Target locale: " TargetLocale
eselect locale set $TargetLocale
env-update && source /etc/profile && export PS1="[chroot \u@\h \w] $ "
env-update && source /etc/profile && export PS1="[chroot \u@\h \W]$ "

echo "gein: Emerging minimal packages..."
emerge -v --quiet-build @gein-base
@@ -298,7 +298,7 @@ MINIMAL() {
DESKTOP() {
echo "gein: Installing Xorg drivers..."
emerge -v --quiet-build x11-base/xorg-drivers
env-update && source /etc/profile && export PS1="[chroot \u@\h \w] $ "
env-update && source /etc/profile && export PS1="[chroot \u@\h \W]$ "

echo "gein: Installing desktop packages..."
emerge -v --quiet-build @gein-base $DesktopChoice

Loading…
Cancel
Save