summaryrefslogtreecommitdiff
path: root/shrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--shrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/shrc b/shrc
index 01dd767..f4e9f11 100644
--- a/shrc
+++ b/shrc
@@ -8,11 +8,16 @@ 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}"'
+
+bat()
+{
+ BAT=$(envstat -d acpibat0 | grep 'charge:' | awk '{print $6}')
+ echo $BAT
+}
set -o emacs
set -o promptcmds
set -o tabcomplete
-PS1="${PWD##*/} $PS1"
+PS1='$(id -u) ${PWD##*/} '
eval "$(zoxide init posix --hook prompt)"