#!/bin/bash

wd() {
  ./auto/with-deploytools bash -c "echo -e \"$( (cat ~/.dotfiles/kubernetes/aliases.zsh; printf 'PS1="\\n\\e[36;1m$PS1\\e[0m"') | base64)\" | base64 -d >> ~/.bashrc && bash"
}

#!/bin/bash

wd() {
  ./auto/with-deploytools bash -c "echo -e \"$( (cat ~/.dotfiles/kubernetes/aliases.zsh; printf 'PS1="\\[\\n\\e[36;1m\\]$PS1\\[\\e[0m\\]"') | base64)\" | base64 -d >> ~/.bashrc && bash"
}

Fix wd terminal prompt getting bash mixed up when doing: Up, Ctrl + A
Fix wd terminal prompt getting bash mixed up when doing: Up, Ctrl + A

https://unix.stackexchange.com/questions/28827/why-is-my-bash-prompt-getting-bugged-when-i-browse-the-history

> Use `\[...\]` around the parts of PS1 that have length 0.
