summaryrefslogtreecommitdiff
path: root/shrc
blob: 01dd767f2c407e24ca42be81fd7a135290061256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#export HISTFILE="$HOME/.history"
#alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build"
alias e="$EDITOR"
alias g="git"
alias grep="ugrep"
alias tldr="NO_COLOR=1 tldr"
alias fd="NO_COLOR=1 fdfind"
alias de='eval "$(direnv export bash)"'
alias f-commit="fossil commit && fossil git export"
alias jrnl='stitch -t :journal:'
alias bat='envstat -d acpibat0 | grep 'charge:' | awk "{print $6}"'

set -o emacs
set -o promptcmds
set -o tabcomplete
PS1="${PWD##*/} $PS1"

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