blob: 18bcc928322ecc1346b2437abe87542fb8db2932 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# The $HOME directory is the working directory for the bare dotfiles git repo.
# As such we can't use the git command in this directory if we want to work with the repo.
# Instead the dotfiles alias is used.
alias dotfiles='/usr/bin/git --git-dir=$HOME/.local/src/dotfiles --work-tree=$HOME'
alias ll='ls -l'
alias cp='cp -iv'
alias rm='rm -iv'
alias mv='mv -iv'
# Git
alias gs='git status'
alias ga='git add'
alias gb='git branch'
alias gc='git commit'
alias gd='git diff'
alias go='git checkout'
alias gl='git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short'
|