adding bashrc configs; added more dev related apps; setting image memory to 4GB

This commit is contained in:
2025-12-02 22:02:26 -06:00
parent 2fb9091362
commit 48deb314a5
9 changed files with 260 additions and 4 deletions

17
Docker/env/.bash_ps1 vendored Normal file
View File

@@ -0,0 +1,17 @@
#sysInfo="$(screenfetch)"
#export PS1="${sysInfo}
function prompt_command() {
_COMMAND="parts = '$(pwd)'.split('/'); print('$(pwd)') if not len(parts) > 3 else print(f'.../{parts[-3]}/{parts[-2]}/{parts[-1]}')"
_PATH=$(python <<< "${_COMMAND}" || pwd)
_BRANCH="$(git rev-parse --symbolic-full-name --abbrev-ref HEAD 2>/dev/null)"
# Week Day/Month/Day : Time -- user@group -- current dir path -- git branch
PS1="\[\e[32m\]\d\[\e[m\]: \[\e[36m\]\@\[\e[m\] -- \[\e[31m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\] -- \[\e[35m\]${_PATH}\[\e[m\] -- ${_BRANCH} \\$ "
}
export PROMPT_COMMAND=prompt_command