added docker config

This commit is contained in:
sherlock 2025-03-09 01:12:02 +05:30
parent e603632476
commit 2aa3d9b36d
2 changed files with 14 additions and 6 deletions

View file

@ -8,6 +8,7 @@ case $- in
*) return;;
esac
# To support SSH connections from an xterm-ghossty terminal, with syntax highlighting and TUI support.
if [ "$TERM" = "xterm-ghostty" ]; then
export TERM=xterm-256color
export COLORTERM=truecolor
@ -121,20 +122,25 @@ if ! shopt -oq posix; then
fi
fi
# Adding cargo via homebrew (for RUST compilation tasks)
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
. "$HOME/.cargo/env"
# better cd and finding algos.
eval "$(zoxide init bash)"
eval "$(fzf --bash)"
eval "$(fzf --bash)"
# Lazydocker aliasing
alias lzd='lazydocker'
alias lzd='lazydocker'
# Terminal history for shell commands via Atuin.
. "$HOME/.atuin/bin/env"
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh
eval "$(atuin init bash)"
# Theme for BAT (modified CAT)
export BAT_THEME="Catppuccin Mocha"
# btop functionality