runtime/etc/bashrc_local

31 lines
1.1 KiB
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
2024-08-13 17:59:45 +00:00
export PATH=$PATH:/srv/bin/active_bun
export PATH=$PATH:/srv/bin/active_deno
export PATH=$PATH:/srv/bin/active_golang
export PATH=$PATH:/srv/bin/active_node
export PATH=$PATH:/srv/bin/active_openjdk
export PATH=$PATH:/srv/bin/active_php
export PATH=$PATH:/srv/bin/active_python
export PATH=$PATH:/srv/bin/active_ruby
# Ruby related variables
export BUNDLE_PATH=/srv/tmp/cache
export GEM_HOME=/srv/.gem
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