summaryrefslogtreecommitdiff
path: root/kshrc
blob: 4db16c4b619e142c9981c9f2d878663178578ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

acpi
export TERM=xterm-256color
eval "$(direnv export bash)"
eval "$(zoxide init posix --hook prompt)"