diff options
-rw-r--r-- | shrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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)" |