Skip to content
TheChatArchiveThe Chat Archive
o4-mini-2025-04-16· OpenAIHugging 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 Claudeclaude-sonnet-4-20250514’s answer.
  1. User

    chce ustawic fish jako domyslny shell w ubuntu

  2. Assistant

    Okej, ustawmy sobie Fish jako domyślny shell w Ubuntu. 😃

    1. Zainstaluj Fish

      sudo apt update
      sudo apt install fish
      
    2. Sprawdź, gdzie jest zainstalowany Fish

      which fish
      

      Zazwyczaj to /usr/bin/fish.

    3. Dodaj ścieżkę do /etc/shells
      Upewnimy się, że system „zna” nasz shell:

      grep -Fxq "$(which fish)" /etc/shells || \
        echo "$(which fish)" | sudo tee -a /etc/shells
      
    4. Ustaw Fish jako domyślny shell
      Dla swojego użytkownika:

      chsh -s $(which fish)
      

      Po tej komendzie…

    5. Wyloguj się i zaloguj ponownie
      Albo zamknij terminal i otwórz na nowo.
      Teraz powinnaś/powinieneś zobaczyć zachętkę Fish:

      Welcome to fish, the friendly interactive shell!
      
    6. Sprawdź, czy się udało

      echo $SHELL
      

      Powinno zwrócić ścieżkę do Fish, np. /usr/bin/fish.

    ——
    🎨 Dodatkowo:

    • fish_config – wygodny UI w przeglądarce do konfiguracji motywów i funkcji.
    • Plik konfiguracyjny: ~/.config/fish/config.fish – tu możesz dodać aliasy, funkcje itp.

    Masz pytania lub coś nie zadziałało? Daj znać!

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