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
The following is not normally needed, since sealion-setup handles this per user, but it helps to explain what is being set up by sealion-setup:
Manual Bash setup
Add the following to your ~/.bashrc:
# Sea Lion Prompt Reminderon() {
export PROMPT_COMMAND="/usr/bin/sealion"off() { unset PROMPT_COMMAND; }
}
# Enable prompt messages if on the right host and not over ssh
[ $HOSTNAME="work_pc" ] && [ !-n"$SSH_TTY" ] && on ||true
NOTE: Change work_pc to whatever the hostname of your work PC is.
Manual Fish setup
Add the following to your ~/.config/fish/config.fish:
# Sea Lion Prompt Reminderfunction on
function sealion --on-eventfish_prompt
/usr/bin/sealion
endfunction off
functions-e sealion
endend# Enable prompt messages if on the right host and not over sshif [ (hostname) = "work_pc" ]; andnotcount$SSH_TTY> /dev/null; on; end
NOTE: Change work_pc to whatever the hostname of your work PC is.
Manual Zsh setup
Add the following to your ~/.zshrc:
# Sea Lion Prompt Reminderon() {
precmd() { /usr/bin/sealion }
off() { unset -f precmd }
}
# Enable prompt messages if on the right host and not over ssh
[ "$HOST"="work_pc" ] && [ !-n"$SSH_TTY" ] && on ||true
NOTE: Change work_pc to whatever the hostname of your work PC is.