Compare commits

..

No commits in common. "af0d0bd59c8e822185c78b9598aa0c365bdcb660" and "11624cffb6479015990486328eab29ca468e16c8" have entirely different histories.

3 changed files with 2 additions and 51 deletions

View File

@ -88,50 +88,6 @@ Host leyk_ext
ProxyJump jump@hettingen_jumphost
# RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
Host firewall_tmux
HostName firewall
User dirk
Port 22
RequestTTY yes
RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
Host firewall_ext
HostName firewall
User dirk
Port 22
RequestTTY yes
ProxyJump dirk@multimedia_ext
Host firewall_ext_tmux
HostName firewall
User dirk
Port 22
RequestTTY yes
RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
ProxyJump dirk@multimedia_ext
Host test_tmux
HostName test
User dirk
Port 22
RequestTTY yes
RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
Host test_ext
HostName test
User dirk
Port 22
RequestTTY yes
ProxyJump dirk@multimedia_ext
Host test_ext_tmux
HostName test
User dirk
Port 22
RequestTTY yes
RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
ProxyJump dirk@multimedia_ext
Host mm_tmux
HostName mount-mockery.de
User root

View File

@ -30,14 +30,9 @@ configure_prompt() {
[ "$EUID" -eq 0 ] && prompt_symbol='%F{white}☠%B%F{%(#.red.blue)}'
case "$PROMPT_ALTERNATIVE" in
twoline)
export GIT_PROMPT_DETAILS="off"
PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n`giti -p`%F{%(#.blue.green)}└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n`giti -n`%F{%(#.blue.green)}└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
# Right-side prompt with exit codes and background processes
RPROMPT=$'%(?.. %? %F{red}%B⚡%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
# Add mechanism to switch git details for prompt
gitp() {
[[ "$GIT_PROMPT_DETAILS" == "on" ]] && export GIT_PROMPT_DETAILS="off" || export GIT_PROMPT_DETAILS="on"
}
;;
oneline)
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '

2
bin

@ -1 +1 @@
Subproject commit 7354bb9e3a2555bd95d67480846cfadcac009059
Subproject commit bb3fb18730e1579db828f574d85e0d6ca18d8039