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

bat()
{
	BAT=$(envstat -d acpibat0 | grep 'charge:' | awk '{print $6}')
	echo $BAT
}

set -o emacs
set -o promptcmds
set -o tabcomplete
PS1='$(id -u) ${PWD##*/} '

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