summaryrefslogtreecommitdiff
path: root/kshrc
blob: d6b5ac8dc2039ae535752d3dbc28bcb9088070f9 (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 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

display-battery-freebsd.sh

eval "$(zoxide init posix --hook prompt)"