dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 0673b33451c41799109df15166ecbedd0638096b
parent c50c062882737663b36c0b09ab262bbaf50f75aa
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri, 30 Aug 2019 05:48:54 -0400

shrc: Make colorize aliasing Zsh-compatible

Diffstat:
M.shrc | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.shrc b/.shrc @@ -30,15 +30,14 @@ alias la="ls $LSCOLORPARAM -A" alias lla="ls $LSCOLORPARAM -lA" unset LSCOLORPARAM -COLORIZE_CMDS="pacman grep egrep fgrep" -for cmd in $COLORIZE_CMDS +for cmd in pacman grep egrep fgrep do if type $cmd > /dev/null 2>&1 then alias $cmd="$cmd --color=auto" fi done -unset COLORIZE_CMDS +unset cmd alias tas="tmux attach-session -t" alias tns="tmux new-session -s"