Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pitivi pitivi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 192
    • Issues 192
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • pitivipitivi
  • Merge requests
  • !348

Draft: Add setup script for fish

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Aitik Gupta requested to merge aitikgupta/pitivi:fish-setup into master Jan 07, 2021
  • Overview 6
  • Commits 1
  • Pipelines 2
  • Changes 1

Fish doesn't have a "PS1" environment variable which we can just change.
If a user has a user-defined fish prompt it will be located at ~/.config/fish/functions/fish_prompt.fish

  1. Either modify the user-defined prompt if there is one
  2. Or create a simple bash-like prompt

First essentially looks like (I have a user-defined prompt): Screenshot_from_2021-01-08_08-34-38

Second looks like (If a user does not have a user-defined prompt): Screenshot_from_2021-01-08_08-37-17

Edited Jan 08, 2021 by Aitik Gupta
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fish-setup