summaryrefslogtreecommitdiff
path: root/kshrc
blob: ef5493daf1c2b6143c2cef729fee037b4f20ae26 (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"
alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build"
alias e="$EDITOR"
alias g="git"
alias sdf="sshpass -p $(pass sdf) ssh mccd@tty.sdf.org"
alias de='eval "$(direnv export bash)"'
alias f-commit="fossil commit && fossil git export"
alias jrnl='stitch -t :journal:'

PS1='${PWD##*/} '

set -o emacs
if [ -x "$(command -v opam)" ]; then
  eval $(opam env)
fi

. /home/mccd/.nix-profile/etc/profile.d/nix.sh

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