- macOS
- zsh
- Linux
- bash
- zsh
Copy and past on terminal
wget -c https://github.com/leelsey/Alias4sh/releases/download/v0.1/install.sh -O alias4sh.sh && sh alias4sh.sh && rm -f alias4sh.sh
source ~/.zshrc
source ~/.bashrc
3) Use alias command! You can check in Alias list.
Aliased cmd | Original cmd |
---|---|
shrl | exec $SHELL |
his | history |
grep | grep --color=auto |
egrep | egrep --color=auto |
fgrep | fgrep --color=auto |
diff | diff --color=auto |
ls | ls --color=auto |
l | ls -CF |
ll | ls -l |
la | ls -A |
lla | ls -al |
lld | ls -al --group-directories-first |
lst | ls -al |
lr | ls -lR |
tree | tree -Csu |
dir | dir --color=auto |
dird | dir -al --group-directories-first |
vdir | vdir --color=auto |
cls | clear |
cdh | cd ~ |
p | cd .. |
rm | rm -i |
cp | cp -i |
mv | mv -i |
f | finger |
j | jobs -l |
d | date |
c | cal |
dfh | df -h |
duh | du -h |
nvi | nvim |
Aliased cmd | Original cmd |
---|---|
ip | ipconfig |
Aliased cmd | Original cmd |
---|---|
ip addr | ip addr --color |
Aliased cmd | Original cmd |
---|---|
zshrl | source ~/.zshrc |
hisp | history -p |
hisc | echo -n > ~/.zsh_history && history -p && exec $SHELL -l |
hiscl | rm -f ~/.bash_history && rm -f ~/.node_repl_history && rm -f ~/.python_history |
Aliased cmd | Original cmd |
---|---|
bashrl | source ~/.bashrc |
hisc | history -c |
Aliased cmd | Original cmd |
---|---|
mkdir | mkdir -p |
rmdir | rmdir -p |
curl | curl -w '\n' |