summaryrefslogtreecommitdiff
path: root/kshrc
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-07-07 10:55:30 -0500
committerMarc Coquand <marc@mccd.space>2024-07-07 10:55:30 -0500
commit2417190fa224dec06daaec7f9b132a5e89b74e23 (patch)
treefe963d9714b5aef2ba8f122dff8819a069fc3c2c /kshrc
parent6b4c0820f976fc3a265f6e9e413a6f65f4aa2152 (diff)
downloadopenbsd-netbsd.tar.gz
openbsd-netbsd.tar.bz2
openbsd-netbsd.zip
Netbsd setupnetbsd
Diffstat (limited to '')
-rw-r--r--kshrc14
1 files changed, 4 insertions, 10 deletions
diff --git a/kshrc b/kshrc
index 77b535b..b013f1d 100644
--- a/kshrc
+++ b/kshrc
@@ -1,23 +1,17 @@
-export GPG_TTY=/dev/pts/0
#export HISTFILE="$HOME/.history"
#alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build"
alias e="$EDITOR"
+alias go=go122
alias g="git"
alias grep="ugrep"
alias tldr="NO_COLOR=1 tldr"
-#alias sdf="sshpass -p $(pass sdf) ssh mccd@tty.sdf.org"
+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:'
-
-PS1='${PWD##*/} '
+alias bat='envstat -d acpibat0 | grep 'charge:' | awk "{print $6}"'
set -o emacs
-if [ -x "$(command -v opam)" ]; then
- eval $(opam env)
-fi
-
-echo "BAT: $(cat /sys/class/power_supply/BAT0/capacity)%"
+PS1='${PWD##*/} '
eval "$(zoxide init posix --hook prompt)"
-