mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: remove unused global aliases
I used to use these occasionally, but now I increasingly find myself typing the commands out in full. They really don't save much time at all. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
c1903f5726
commit
315f6b6b9a
18
aliases
18
aliases
@ -10,37 +10,19 @@ if alias -g 2>/dev/null; then
|
|||||||
alias -g ....=../../..
|
alias -g ....=../../..
|
||||||
alias -g .....=../../../..
|
alias -g .....=../../../..
|
||||||
alias -g ......=../../../../..
|
alias -g ......=../../../../..
|
||||||
alias -g H='| head'
|
|
||||||
alias -g T='| tail'
|
|
||||||
alias -g G='| grep'
|
|
||||||
alias -g L="| less"
|
|
||||||
alias -g C="| wc -l"
|
|
||||||
alias -g S="| sort"
|
|
||||||
alias -g U="| uniq"
|
|
||||||
alias -g count="| wc -l"
|
|
||||||
alias -g NO="1> /dev/null"
|
alias -g NO="1> /dev/null"
|
||||||
alias -g NE="2> /dev/null"
|
alias -g NE="2> /dev/null"
|
||||||
alias -g NUL="&> /dev/null"
|
alias -g NUL="&> /dev/null"
|
||||||
alias -g BG="&;disown"
|
alias -g BG="&;disown"
|
||||||
alias -g COL="| column -t"
|
|
||||||
alias -g CLIP="| xclip -i -selection primary -f | xclip -i -selection clipboard"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# File default aliases
|
# File default aliases
|
||||||
if alias -s 2>/dev/null; then
|
if alias -s 2>/dev/null; then
|
||||||
alias -s pdf="open"
|
alias -s pdf="open"
|
||||||
alias -s zip="unzip -l"
|
|
||||||
alias -s rar="unrar l"
|
|
||||||
alias -s tar="tar tf"
|
|
||||||
alias -s gz="tar tf"
|
|
||||||
alias -s jar="java -jar"
|
alias -s jar="java -jar"
|
||||||
alias -s git="git clone --recursive"
|
alias -s git="git clone --recursive"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias ..la="cd ..;la"
|
|
||||||
alias ..ll="cd..;ll"
|
|
||||||
alias ..l="..ll"
|
|
||||||
|
|
||||||
alias l=ll
|
alias l=ll
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias ll="ls -lFh --group-directories-first"
|
alias ll="ls -lFh --group-directories-first"
|
||||||
|
Loading…
Reference in New Issue
Block a user