aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2025-09-11 09:46:00 -0600
committerjason2025-09-11 09:46:00 -0600
commitba35c5081c984a67b02ad1be628cdffdbc70ffd2 (patch)
tree9f677a0d4f17b4e9ba4091de8b897214d919b13d /bash
parent0882ad5759786a90dc847b151dff784a45790edc (diff)
downloaddotfiles-ba35c5081c984a67b02ad1be628cdffdbc70ffd2.tar.gz
dotfiles-ba35c5081c984a67b02ad1be628cdffdbc70ffd2.zip
debugging ssh color
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index b0087b2..5d0b2c5 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -11,11 +11,14 @@ fi
11 11
12LC_ALL="en_US.UTF-8" 12LC_ALL="en_US.UTF-8"
13# This PS1 is completed at the end, allowing statuses to be included between the directory and closing $ 13# This PS1 is completed at the end, allowing statuses to be included between the directory and closing $
14if [ "$SESSION_TYPE" == "ssh" ]; then 14if [ "$SESSION_TYPE" = "ssh" ]; then
15 echo "SSH"
15 HOST_COLOR="\[\e[38;5;124m\]" 16 HOST_COLOR="\[\e[38;5;124m\]"
16else 17else
18 echo "NON"
17 HOST_COLOR="\[\e[38;5;160m\]" 19 HOST_COLOR="\[\e[38;5;160m\]"
18fi 20fi
21echo ${HOST_COLOR}asdf
19 22
20PS1="[\u@${HOST_COLOR}\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]" 23PS1="[\u@${HOST_COLOR}\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]"
21END_PS1="\$\[\e[m\] " 24END_PS1="\$\[\e[m\] "
@@ -450,5 +453,12 @@ at-finit() {
450 printf "\nSuccess. View your public repository at https://depot.antitech.org/${name}/\n" 453 printf "\nSuccess. View your public repository at https://depot.antitech.org/${name}/\n"
451} 454}
452 455
456# voze downloader
457vozegrab() {
458 curl -O "https://audit-tool-backend.voze.com/files/audio/$1" \
459 -H "Content-Type: application/json" \
460 -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJmam9zIiwibWFpbGJveCI6IjU1NTUiLCJleHAiOjE5NTMyNDgxNjd9.aHz-km0y7F7XVYe-vRIhwMOFZujzxO-zfLYDhPCx_5Y"
461}
462
453# Close off the PS1 with the $ 463# Close off the PS1 with the $
454PS1=${PS1}${END_PS1} 464PS1=${PS1}${END_PS1}