commit 2479bb7a94ffaace86e0e5d4b7822cd9b083b863
parent 69c86d23657f36e39d197e3c24d62015541d70cf
Author: Friedel Schön <[email protected]>
Date: Mon, 1 Jul 2024 12:52:54 +0200
add "ccat"-alias as colorized cat (bat)
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -15,13 +15,9 @@ vsv() {
alias ls="exa"
alias clip="xclip -selection clipboard"
alias neofetch="fastfetch"
+alias ccat="bat --style=plain --paging=never --theme=OneHalfDark"
export PLAN9="$HOME/plan9port"
-export PATH="$PATH:$HOME/.local/bin:$PLAN9/bin"
+export PATH="$PATH:$HOME/.local/bin:$HOME/.cargo/bin:$PLAN9/bin"
export MANPATH="$MANPATH:$HOME/.local/share/man:$PLAN9/man"
export WEAKBOX="$HOME/.glibc"
-
-# if we are a tty1,
-if [ -z "$DISPLAY" -a `tty` = "/dev/tty1" ]; then
- exec ~/.xinitrc
-fi