diff options
| 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 |
| commit | 985582b80c83dc894c383b41455973a1f9e7b562 (patch) | |
| tree | c7f2df1d68e7e7695e715ba0b41579edb0297e2a /device | |
| parent | 2031bd979dc9c27b303e0a53bc0cc9f4f0ef715a (diff) | |
Diffstat (limited to 'device')
| -rwxr-xr-x | device/acme_pre | 12 |
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' |