« get me outta code hell

more acme - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/device
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-28 20:15:37 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-28 20:15:37 -0300
commit985582b80c83dc894c383b41455973a1f9e7b562 (patch)
treec7f2df1d68e7e7695e715ba0b41579edb0297e2a /device
parent2031bd979dc9c27b303e0a53bc0cc9f4f0ef715a (diff)
more acme HEAD main
Diffstat (limited to 'device')
-rwxr-xr-xdevice/acme_pre12
1 files changed, 11 insertions, 1 deletions
diff --git a/device/acme_pre b/device/acme_pre
index d679ed9..5dd6e31 100755
--- a/device/acme_pre
+++ b/device/acme_pre
@@ -6,7 +6,10 @@
 # to use. This is treated like a device of its own, even
 # though it really isn't.
 
+awd zsh
+
 export EDITOR=E
+export NO_COLOR=1
 
 path=("$DOTFILES/scripts/acme" "$DOTFILES/scripts/acme_dynamic" $path)
 export PATH
@@ -19,5 +22,12 @@ export PATH
 #     ln -s "$(which pinentry-tty)" "$DOTFILES/scripts/acme_dynamic/pinentry"
 # fi
 
-alias git='git --no-pager'
+cd() {
+    if [ $# -eq 0 ]
+    then builtin cd && awd zsh
+    else builtin cd "$1" && awd zsh
+    fi
+}
+
+alias git='git -c color.ui=false --no-pager'
 alias ls='ls -1'