blob: 10cb23aa2e2c52fa03aa321a7e4c5547bbcdc921 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
# Use neovim for vim if present.
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"
# Verbosity.
alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -iv"
alias mkdir="mkdir -pv"
# Use color when available.
# Better ls with exa.
alias ls="exa -aH --color=automatic --group-directories-first --git"
alias ll="ls -l"
alias lt="ls -TL 6"
alias grep="grep --color=auto"
alias diff="diff --color=auto"
# Dotfiles bare repository management.
alias dots="/usr/bin/git --git-dir=$HOME/.dots/ --work-tree=$HOME"
# TexLive Manager fix as described in https://wiki.archlinux.org/index.php/TeX_Live
alias tlmgr="$TEXMFDIST/scripts/texlive/tlmgr.pl --usermode"
|