feat: guestOS docker config (#3)

This commit is contained in:
Hari 2026-04-08 12:30:04 -04:00 committed by GitHub
commit 27f7b6318b
11 changed files with 660 additions and 0 deletions

15
defaults/.bashrc Normal file
View file

@ -0,0 +1,15 @@
case $- in
*i*) ;;
*) return ;;
esac
computer_prompt_name() {
printf '%s' "${COMPUTER_NAME:-${COMPUTER_HANDLE:-microagentcomputer}}"
}
alias ls='eza --group-directories-first --icons=auto'
alias la='eza -a --group-directories-first --icons=auto'
alias ll='eza -lah --git --group-directories-first --icons=auto'
alias lt='eza --tree --level=2 --group-directories-first --icons=auto'
export PS1="\[\033[01;32m\]\$(computer_prompt_name)\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "

3
defaults/.profile Normal file
View file

@ -0,0 +1,3 @@
if [ -n "${BASH_VERSION:-}" ] && [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi

42
defaults/.zshrc Normal file
View file

@ -0,0 +1,42 @@
HISTFILE="${HOME}/.zsh_history"
HISTSIZE=50000
SAVEHIST=50000
setopt append_history
setopt extended_history
setopt hist_ignore_all_dups
setopt hist_reduce_blanks
setopt share_history
bindkey -v
computer_prompt_name() {
printf '%s' "${COMPUTER_NAME:-${COMPUTER_HANDLE:-microagentcomputer}}"
}
alias ls='eza --group-directories-first --icons=auto'
alias la='eza -a --group-directories-first --icons=auto'
alias ll='eza -lah --git --group-directories-first --icons=auto'
alias lt='eza --tree --level=2 --group-directories-first --icons=auto'
if [ -r /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
fi
if [ -r /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
if [ -r /opt/zsh/pure/pure.zsh ] && [ -r /opt/zsh/pure/async.zsh ]; then
fpath=(/opt/zsh/pure $fpath)
autoload -Uz promptinit
promptinit
if prompt pure >/dev/null 2>&1; then
zstyle ':prompt:pure:path' color blue
PROMPT='%F{green}$(computer_prompt_name)%f ${PROMPT}'
else
PROMPT='%F{green}$(computer_prompt_name)%f %F{blue}%~%f %# '
fi
else
PROMPT='%F{green}$(computer_prompt_name)%f %F{blue}%~%f %# '
fi