summaryrefslogtreecommitdiff
path: root/kshrc
blob: 7271036ae3d1596541f3deccd357a533079d6273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export GPG_TTY=/dev/pts/0
export HISTFILE="$HOME/.history"
gpg-connect-agent updatestartuptty /bye >/dev/null
alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build"
alias e="$EDITOR"
alias sudo='doas'
alias g="git"
alias infols="inxi -S -c 0"
alias de='eval "$(direnv export bash)"'
alias f-commit="fossil commit && fossil git export"
PS1='$(git branch 2> /dev/null | grep "^\*" | colrm 1 2 | sed -e "s/$/./")${PWD##*/} '

set -o emacs
alias jrnl='stitch -t :journal:'
if [ -x "$(command -v opam)" ]; then
  eval $(opam env)
fi

eval "$(direnv export bash)"
eval "$(zoxide init posix --hook prompt)"