From 2417190fa224dec06daaec7f9b132a5e89b74e23 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 7 Jul 2024 10:55:30 -0500 Subject: Netbsd setup --- kshrc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'kshrc') 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)" - -- cgit v1.2.3