GithubHelp home page GithubHelp logo

theme-sushi's Introduction


🍣 Sushi theme for Oh My Fish.

Install

$ omf install sushi

Features

  • Minimal Prompt.
  • Git Support.
  • Displays ^ when there are stashed changes.
  • Displays * when there are any changes to files already being tracked in the repo.
  • Displays current branch name.
  • Branch name color changes when there are staged changes.
  • Displays selected or default terraform workspace.
  • Displays number of commits current branch is ahead/behind in each remote.
  • By default it shows only the name of the current directory but it provides a flag theme_complete_path to display abbreviated current working directory instead.
  • Displays Time.
  • Support for Terraform
  • Support for Kubernetes

Screenshot

Screenshot for Sushi Theme

Screenshot of Sushi Theme with Terraform Workspaces

Screenshot of Sushi Theme with Kubernetes

Screenshot of Sushi Theme with SSH

License

MIT © Umayr Shahid et al

theme-sushi's People

Contributors

akhterali avatar alyyousuf7 avatar beverlyguillermo avatar kraem avatar scorphus avatar umayr avatar yurrriq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

theme-sushi's Issues

Fatal error for git ?

Hi
when i open terminal i see this message:

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
find: paths must precede expression: `^/dev/null'

this error wont appear on other themes

Move away from fish_greeting for initialization

Using fish_greeting to define functions and run initialization code for themes should be considered unreliable and breaks in the following cases:

  • User switches themes during the middle of a terminal session. The shell is not reloaded, and so fish_greeting is not executed.
  • User has a custom fish_greeting variable or function, overriding the theme's default greeting. Again, the theme's fish_greeting is not executed.

The recommended approach is to lazy-load defaults using set -q ...; or set -g ... and to place functions in individual files in a functions directory.

See the discussion in oh-my-fish/oh-my-fish#483.

When installed on fresh machine the install setup never finish

Environment: Ubuntu 16.04

When I execute

⋊> ~ omf install sushi                                                                                                                                                            20:46:49
Updating https://github.com/oh-my-fish/packages-main master... Done!
Installing package sushi
✔ sushi successfully installed.

after this message terminal never return for I/O interaction, I have to forcefully kill the process by Ctrl+Z
and the below messages appear

?
No command 'off' found, did you mean:
 Command 'poff' from package 'ppp' (main)
off: command not found
~/.config/fish/functions/fish_prompt.fish (line 1): off
                                                    ^
in command substitution
	called on line 0 of file ~/.config/fish/functions/fish_prompt.fish

in function “fish_prompt”
	called on standard input

in command substitution
	called on standard input

yellow: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): yellow
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

No command 'dim' found, but there are 26 similar ones
dim: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): dim
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

yellow: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): yellow
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

No command 'off' found, did you mean:
 Command 'poff' from package 'ppp' (main)
off: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): off
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

printf: not enough arguments
No command 'dim' found, but there are 26 similar ones
dim: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): dim
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

yellow: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): yellow
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

No command 'dim' found, but there are 26 similar ones
dim: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): dim
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

yellow: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): yellow
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

No command 'dim' found, but there are 26 similar ones
dim: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): dim
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

No command 'off' found, did you mean:
 Command 'poff' from package 'ppp' (main)
off: command not found
~/.local/share/omf/themes/sushi/fish_right_prompt.fish (line 1): off
                                                                 ^
in command substitution
	called on line 1 of file ~/.local/share/omf/themes/sushi/fish_right_prompt.fish

in function “fish_right_prompt”
	called on standard input

in command substitution
	called on standard input

printf: not enough arguments

Conda fish prompt

Love the plugin!

I'm not sure how the plugin should be structured or is the idiomatic way. But, I'm still logging it here to make this conda issue known here as well.

Turns out that fish_right_prompt.fish has helper functions which get lost when using anaconda's conda.fish file.

I hacked it in my prompt by sourcing the sushi/fish_right_prompt.fish before I source conda.fish for the time being.

conda/conda#7651

git::is_repo: command not found

After installing sushi with omf install sushi, I get the following error:

git::is_repo: command not found
~/.config/fish/functions/fish_prompt.fish (line 11): 
	if git::is_repo
	   ^
in function 'fish_prompt'
in command substitution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.