base-files: remove which2.sh (useless), improve ~/.profile.

This commit is contained in:
Juan RP 2012-01-30 09:46:51 +01:00
parent ed197f7fed
commit 876cd546eb
4 changed files with 9 additions and 10 deletions

View File

@ -6,8 +6,6 @@ if [ -f ~/.bashrc ]; then
fi fi
# User specific environment and startup programs # User specific environment and startup programs
if [ -f ~/.profile ]; then
PATH=$PATH:$HOME/bin . ~/.profile
PS1="[\u@\h \W]$ " fi
export PATH PS1

View File

@ -3,3 +3,8 @@
if [ -f /etc/profile ]; then if [ -f /etc/profile ]; then
. /etc/profile . /etc/profile
fi fi
PATH=$PATH:$HOME/bin
PS1="[\u@\h \W]$ "
export PATH PS1

View File

@ -1,4 +0,0 @@
# Initialization script for bash and sh
# export AFS if you are in AFS environment
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'

View File

@ -1,6 +1,6 @@
# Template file for 'base-files' # Template file for 'base-files'
pkgname=base-files pkgname=base-files
version=0.58 version=0.59
short_desc="Void GNU/Linux base system files" short_desc="Void GNU/Linux base system files"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps" homepage="http://code.google.com/p/xbps"