#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '


# read temperature of rPi
alias temp='/opt/vc/bin/vcgencmd measure_temp'
# read screen properties
alias screen='/opt/vc/bin/tvservice -s'
# report file system disk space usage
alias space='df -H -t ext4 -t vfat'
# /opt/vc/bin/vcgencmd commands
alias rpiinfo='echo -e "\n-------\n" && cat /proc/device-tree/model && echo &&  /opt/vc/bin/vcgencmd get_mem gpu && /opt/vc/bin/vcgencmd get_mem arm && echo -e "\n-------\n" && cat /proc/cpuinfo'
# display boot displayed info
alias bootlog='journalctl /usr/lib/systemd/systemd -b'
# enable dtdebug=1 in config.txt
alias conflog='/opt/vc/bin/vcdbg log msg'
