mirror of
https://github.com/HerrCraziDev/dotfiles.git
synced 2026-04-20 14:34:21 +02:00
Enable colors for some tools
This commit is contained in:
9
.termrc
9
.termrc
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user