# Ansible managed [ -f ~/.profile ] && . ~/.profile [ -f ~/.profile.local ] && . ~/.profile.local alias grep='grep --color=auto' alias diff='diff --color=auto' alias ls='ls -F --color=auto' alias l='ls -hl' alias ll='ls -alh' alias tree='tree -F' alias qq='history -c; exit' shopt -s autocd shopt -s histappend HISTCONTROL=ignoreboth HISTSIZE=1000000 HISTFILESIZE=1000000 HISTTIMEFORMAT="%d %b %Y %T %z " if [ "$EUID" -eq 0 ]; then if [ $(grep -m 1 -oi orange /etc/armbian-image-release 2>/dev/null) ]; then PS1='\[\033[38;5;208;1m\]\u@\H\[\033[00m\]:\w\[\033[00m\]\$ ' elif [ $(grep -m 1 -oi rockpi /etc/armbian-image-release 2>/dev/null) ]; then PS1='\[\033[32;5;208;1m\]\u@\H\[\033[00m\]:\w\[\033[00m\]\$ ' else PS1='\[\033[1m\]\u@\H\[\033[00m\]:\w\[\033[00m\]\$ ' fi else PS1='\u@\H:\w\$ ' fi