dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit bde43d1e4aeaa1997df1563ae1fee0d0e06bfc9f
parent 6bc14f8c6c60838b5f334da9eaea4a5e0ef29b46
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed,  6 May 2020 10:26:54 -0700

Add useful aliases

Adds:
* h: history (via fc)
* j: jobs
* m: more
* g: grep -i

Diffstat:
M.aliases | 15+++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/.aliases b/.aliases @@ -12,12 +12,15 @@ alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' alias ag='ag --color-line-number "30;33" --color-path "30;32" --color-match "1;31"' -# more ls aliases -alias ll='ls -l' -alias la='ls -Al' -alias l='ls -C' +# some useful aliases +alias h='fc -l' +alias j=jobs +alias m="$PAGER" +alias ll='ls -la' +alias l='ls -l' +alias g='egrep -i' -# enable checks -alias cp='cp -i' +# be paranoid +alias cp='cp -ip' alias mv='mv -i' alias rm='rm -i'