mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
minor shell environment touches
This commit is contained in:
parent
543f9388de
commit
a85c71efb8
@ -1,12 +1,4 @@
|
||||
# ~/.bashrc: executed by bash(1) for non-login interactive shells.
|
||||
|
||||
export PATH=\
|
||||
/bin:\
|
||||
/sbin:\
|
||||
/usr/bin:\
|
||||
/usr/sbin:\
|
||||
/usr/bin/X11:\
|
||||
/usr/local/bin
|
||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
# If running interactively, then:
|
||||
if [ "$PS1" ]; then
|
||||
@ -29,27 +21,11 @@ if [ "$PS1" ]; then
|
||||
export HOSTNAME=`/bin/hostname`
|
||||
export HISTSIZE=1000
|
||||
export HISTFILESIZE=1000
|
||||
export PAGER='/bin/more '
|
||||
export EDITOR='/bin/vi'
|
||||
export INPUTRC=/etc/inputrc
|
||||
export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
|
||||
|
||||
### Some aliases
|
||||
alias ps2='ps facux '
|
||||
alias ps1='ps faxo "%U %t %p %a" '
|
||||
alias af='ps af'
|
||||
alias cls='clear'
|
||||
alias df='df -h'
|
||||
alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 '
|
||||
#alias bc='bc -l'
|
||||
alias minicom='minicom -c on'
|
||||
alias calc='calc -Cd '
|
||||
alias bc='calc -Cd '
|
||||
export PAGER="/usr/bin/less"
|
||||
export EDITOR="/usr/bin/nano"
|
||||
export INPUTRC="/etc/inputrc"
|
||||
fi;
|
||||
|
||||
# Source configuration files from /etc/profile.d
|
||||
for i in /etc/profile.d/*.sh ; do
|
||||
if [ -r "$i" ]; then
|
||||
. $i
|
||||
fi
|
||||
done
|
||||
if [ -f /data/etc/profile ]; then
|
||||
source /data/etc/profile
|
||||
fi
|
||||
|
@ -1,7 +1,6 @@
|
||||
# ~/.bash_logout: executed by bash(1) when login shell exits.
|
||||
|
||||
# when leaving the console clear the screen to increase privacy
|
||||
|
||||
case "`tty`" in
|
||||
/dev/tty[0-9]*) clear
|
||||
esac
|
||||
|
||||
|
@ -1,15 +1,6 @@
|
||||
# .bash_profile
|
||||
|
||||
export PATH=\
|
||||
/bin:\
|
||||
/sbin:\
|
||||
/usr/bin:\
|
||||
/usr/sbin:\
|
||||
/usr/bin/X11:\
|
||||
/usr/local/bin
|
||||
|
||||
umask 022
|
||||
|
||||
if [ -f ~/.bashrc ]; then
|
||||
source ~/.bashrc
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user