Enable colors for some tools

This commit is contained in:
2024-09-09 15:59:39 +02:00
parent 388f3a1f78
commit bbbc83d929

View File

@@ -35,6 +35,12 @@ export EDITOR=/usr/bin/vim
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8" export LANGUAGE="en_US.UTF-8"
# Colors
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias ip='ip -color=auto'
alias ls='ls --color=auto'
# Decompress raw zlib files (.dat) # Decompress raw zlib files (.dat)
zlibd() (printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - "$@" | gzip -dc) zlibd() (printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - "$@" | gzip -dc)
@@ -69,6 +75,9 @@ if [ -n "$WSLENV" ] ; then
# Enable entr workaround for incomplete inotify support on WSL # Enable entr workaround for incomplete inotify support on WSL
export ENTR_INOTIFY_WORKAROUND=1 export ENTR_INOTIFY_WORKAROUND=1
# Add Ubuntu debuginfod server
export DEBUGINFOD_URLS="https://debuginfod.ubuntu.com"
# Re-init serial # Re-init serial
reinit() (unset _SERIAL_INIT; reload) reinit() (unset _SERIAL_INIT; reload)