From ba35c5081c984a67b02ad1be628cdffdbc70ffd2 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 11 Sep 2025 09:46:00 -0600 Subject: debugging ssh color --- bash/.bashrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index b0087b2..5d0b2c5 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -11,11 +11,14 @@ fi LC_ALL="en_US.UTF-8" # This PS1 is completed at the end, allowing statuses to be included between the directory and closing $ -if [ "$SESSION_TYPE" == "ssh" ]; then +if [ "$SESSION_TYPE" = "ssh" ]; then + echo "SSH" HOST_COLOR="\[\e[38;5;124m\]" else + echo "NON" HOST_COLOR="\[\e[38;5;160m\]" fi +echo ${HOST_COLOR}asdf PS1="[\u@${HOST_COLOR}\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]" END_PS1="\$\[\e[m\] " @@ -450,5 +453,12 @@ at-finit() { printf "\nSuccess. View your public repository at https://depot.antitech.org/${name}/\n" } +# voze downloader +vozegrab() { + curl -O "https://audit-tool-backend.voze.com/files/audio/$1" \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJmam9zIiwibWFpbGJveCI6IjU1NTUiLCJleHAiOjE5NTMyNDgxNjd9.aHz-km0y7F7XVYe-vRIhwMOFZujzxO-zfLYDhPCx_5Y" +} + # Close off the PS1 with the $ PS1=${PS1}${END_PS1} -- cgit v1.2.1