runtime/etc/bashrc_local

19 lines
714 B
Plaintext
Raw Permalink Normal View History

2020-09-14 12:18:38 +00:00
export PATH=/srv/bin/primary_tech:/srv/bin/primary_tech/sbin:/srv/bin:$PATH:/usr/sbin:/sbin
2020-02-02 21:06:11 +00:00
# Use only if the shell is opened via SSH
if [ -n "$SSH_TTY" ]; then
export PS1="\[\033[38;5;2m\]\u@\[$(tput sgr0)\]\[\033[38;5;3m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;67m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;40m\]\\$\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"
alias ll='ls -alh'
if [ -e /opt/etc/bashrc/ ]; then
. /opt/etc/bashrc/*
fi
fi
# Default path
cd /srv
# DO NOT REWRITE ME
# This is information for initialization script. If it finds the line above, you can edit this file as you wish and changes remain