blob: ce747f2af6f4af0d454f8e93f54cced9b55b6d9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# vim selection
command -v nvim &> /dev/null && alias vim="nvim" vimdiff="nvim -d" vi="nvim"
# verbosity
alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -iv"
alias mkdir="mkdir -pv"
# ls and use color when available
alias ls="ls -Ah --color=always --group-directories-first"
alias ll="ls -l"
alias lll="ls -ltr"
alias grep="grep --color=auto"
alias diff="diff --color=auto"
# dotfiles bare repository management
alias dots="/usr/bin/git --git-dir=$HOME/.mdots/ --work-tree=$HOME"
|