You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I am trying to change my environment variables in fish when opening a kubie shell, but it is not working.
What is wrong in this code?
prompt:
# Disable kubie's custom prompt inside of a kubie shell. This is useful
# when you already have a prompt displaying kubernetes information.
# Default: false
disable: true
hooks:
start_ctx: >
set -gx TEST test
set -Ux FOO bar
stop_ctx: >
set -gx TEST test
set -Ux FOO bar
Thank you in advance!
The text was updated successfully, but these errors were encountered:
I land here for the same reason : I cannot use hooks with fish shell.
But I found a workaround by creating a ~/.config/fish/conf.d/kubie.fish file with the following content :
function kubie_exit --on-event fish_exit
if set -q KUBIE_ACTIVE
echo "Goodbye from Kubie!!!"
end
end
if set -q KUBIE_ACTIVE
echo "Hello from Kubie!!!"
end
Hi there, I am trying to change my environment variables in fish when opening a kubie shell, but it is not working.
What is wrong in this code?
Thank you in advance!
The text was updated successfully, but these errors were encountered: