You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
564 B
24 lines
564 B
#!/bin/sh
|
|
|
|
# Vim a
|
|
command -v vim >/dev/null && alias vi="vi" vim="vim" vimdiff="vimdiff"
|
|
command -v nvim >/dev/null && alias vi="nvim" vim="nvim" vimdiff="nvim -d"
|
|
|
|
# Verbose
|
|
alias \
|
|
cp="cp -iv" \
|
|
mv="mv -iv" \
|
|
rm="rm -v" \
|
|
mkdir="mkdir -pv" \
|
|
dmesg="dmesg --ctime" \
|
|
sudo='sudo ' # https://wiki.archlinux.org/index.php/Sudo#Passing_aliases
|
|
|
|
|
|
# Color
|
|
alias \
|
|
ls="ls -hN --group-directories-first --color=auto" \
|
|
ll="ls -lahN --group-directories-first --color=auto" \
|
|
grep="grep -i --color=auto" \
|
|
Grep="grep --color=auto" \
|
|
diff="diff --color=auto" \
|