summaryrefslogtreecommitdiff
path: root/.config/kshrc
blob: 72c14fdd82a89af4f6a174ca9e67c1775ceae8e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set -o noclobber -o nounset -o vi

alias uconf="git --git-dir=$HOME/.local/share/obsdconf.git --work-tree=$HOME"

export GPG_TTY="$(tty)"

alias ls='LC_COLLATE=C ls -p'
alias ll='ls -hl'
alias ff='find . -type f -name'
alias bc='bc -l'
alias ag='ag --pager=$PAGER'
alias gs='git status --short --branch || ls' gd='git diff'
alias gsh='git show' gl='git log --graph --pretty=log'
alias gco='git checkout' gb='git branch' gm='git merge' gst='git stash'
alias ga='git add' gmv='git mv' grm='git rm'
alias gc='git commit' gca='gc --amend' gt='git tag'
alias gp='git push' gu='git pull' gf='git fetch'
alias gr='git rebase' grc='git rebase --continue'
alias rand='openssl rand -base64 33'
alias private='eval "$(gpg -d ~/.private)"'

PS1='\w $ '