Browse Source

PATH loaded from /opt/debian-*/tools

master 0.4.2
pvincent 5 years ago
parent
commit
43f3ee0af0
  1. 11
      bash.bashrc
  2. 2
      install.sh

11
bash.bashrc

@ -141,7 +141,7 @@ DEBIAN_BASH_DIR=/opt/debian-bash
alias ls='ls $COLOR_OPTIONS'
alias ll='ls $COLOR_OPTIONS -l'
alias lh='ls $COLOR_OPTIONS -lh'
alias la='ls $COLOR_OPTIONS -lA'
alias la='ls $COLOR_OPTIONS -la'
alias ltr='ls $COLOR_OPTIONS -ltrh'
alias l=ls
@ -161,8 +161,7 @@ if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
PATH=$PATH:/opt/debian-bash/tools
if [ -d /opt/debian-server ]; then
PATH=$PATH:/opt/debian-server/tools
fi
# Add path to any tools folder in /opt/debian-*
for i in /opt/debian-*/tools; do
PATH=$PATH:$i
done

2
install.sh

@ -5,7 +5,7 @@
BASEDIR=$PWD
if [[ ! $BASEDIR == '/opt/debian-bash' ]]; then
# download and filfull /etc/debian-bash, then run it from folder
# download and filfull /opt/debian-bash, then run it from folder
rm -rf /opt/debian-bash
TEMP=`mktemp -d`

Loading…
Cancel
Save