Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-sonnet-4-20250514· AnthropicHugging Face LMArena Human Preference 140K

chce ustawic fish jako domyslny shell w ubuntu

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with o4-mini-2025-04-16’s answer.
  1. User

    chce ustawic fish jako domyslny shell w ubuntu

  2. Claude Assistant

    Żeby ustawić fish jako domyślny shell w Ubuntu, możesz to zrobić na kilka sposobów:

    Metoda 1 - używając chsh:

    chsh -s /usr/bin/fish
    

    Metoda 2 - jeśli fish nie jest w /etc/shells: Najpierw dodaj fish do listy dozwolonych shelli:

    echo /usr/bin/fish | sudo tee -a /etc/shells
    

    Potem użyj chsh jak wyżej.

    Metoda 3 - dla konkretnego użytkownika:

    sudo chsh -s /usr/bin/fish nazwa_użytkownika
    

    Po wykonaniu którejś z tych komend musisz się wylogować i zalogować ponownie (lub zrestartować terminal), żeby zmiany weszły w życie.

    Jeśli fish nie jest jeszcze zainstalowany, najpierw go zainstaluj:

    sudo apt update
    sudo apt install fish
    

    Możesz też sprawdzić ścieżkę do fish komendą which fish, żeby upewnić się, że używasz właściwej ścieżki w chsh.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.