mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00

- split zsh into many files - add bash support - cleaned up lots of stuff, created a commonsh folder for common stuff between bash and zsh - commonsh supports an order of execution, deliminated by filename. This is to enforce dependencies All of these changes were needed so that we could sensibly continue to extend the system
9 lines
329 B
Text
Executable file
9 lines
329 B
Text
Executable file
# prompt
|
|
if [[ -z ${SSH_TTY} ]] ; then
|
|
PROMPT=$'%{\e[01;32m%}%n@%m %{\e[01;34m%}%~ %(?..%{\e[01;31m%})%(!.#.$) %{\e[00;00m%}'
|
|
RPROMPT=$'%1(j.%{\e[00;36m%}[%j].)%{\e[01;33m%}[%t]%{\e[00;00m%}'
|
|
else
|
|
PROMPT=$'%{\e[01;36m%}%n %(?..%{\e[01;31m%})%(!.#.$) %{\e[00;00m%}'
|
|
RPROMPT=$'%{\e[01;33m%}%m %{\e[01;32m%}%~%{\e[00;00m%}'
|
|
fi
|
|
|