GithubHelp home page GithubHelp logo

lucid.fish's People

Contributors

davoaux avatar flygrounder avatar jorgebucaran avatar kkga avatar mattgreen avatar mserajnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar

lucid.fish's Issues

General Questions

Hi @mattgreen, I hope it's okay if I open a general questions thread here. I'm looking into making Tide asynchronous, and I think that you're the best person to ask for advice on the matter. I didn't want to just open a new issue for every question I had.

First question: You say that IPC via universal variables is a non-starter. Why is that?

I have a very simple example, but it seems to work perfectly.

function fish_prompt
    fish --command 'set -U foo (fish_git_prompt)' &

    echo $PWD $foo
end

function on_foo --on-variable foo
    commandline -f repaint
end

Previous fish_prompt.fish is erased without warning

I tried this over the past few days, and then I found out that my original Fish prompt (.config/fish/functions/fish_prompt.fish) that I had carefully written and tweaked was just gone. Fortunately, I had a backup, but I don't much like it for packages to erase my files without asking me.

(feature request) Provide option to count number of running background jobs

Hi there. I've been enjoying using this prompt for quite a while now!

I do have a request. I frequently find myself suspending jobs and coming back to them later-- this is the primary way that I manage my open code editors, for example (e.g. Ctrl+Z to suspend open editor, fg to get it back later). So a count of the number of background jobs is pretty useful for me to see in the prompt.

I've actually already implemented a version of this just for my own personal config, so I'm willing to open a PR for it. Just wanted to hear your thoughts before I did so. Something like this:

function show_jobs_count # ... with a flag to enable or disable this function
    set -g jobs_count (jobs | wc -l | xargs echo -n)
    if [ $jobs_count != "0" ]
        set_color $__embark_primary_cyan
        echo -n "+$jobs_count "
    end
    set_color normal
end

gives:

~/scratch
[I] โฏ nvim whatever
fish: Job 1, 'nvim whatever' has stopped

+1 ~/scratch
[I] โฏ

If this is too obscure of a feature to include, no worries. Thanks again for this project!

Add VI mode indicator

I like the prompt a lot, but as a user of fish_vi_key_bindings it is confusing that I cannot see which mode is on. Indicator would be very helpful.

CWD cleared when clearing the terminal

I really enjoy the prompt starting on a new line but when you clear the terminal it clears the line with the current working directory and git status and only shows the second line. No idea if there's a way around this, but figured I'd mention it!

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.