Giter Club home page Giter Club logo

Comments (3)

bbugyi200 avatar bbugyi200 commented on June 3, 2024 1

@unikitty37 Hmm. I've never heard of smartcd before. I've added it to the Similar Projects section of funky's README.

@french-frie Thanks for the contribution! I think it's working well in #165. I'm going to dogfood this PR for a few weeks before merging.

from funky.

french-frie avatar french-frie commented on June 3, 2024

Hey @unikitty37 , i don't know if you are still searching for a solution here but i ended up modifying their funky.sh script.

Props to those guys to have done this tool, it does what it is supposed to do but realised that it wasn't exactly what i expected:

  • It wasn't unsetting the aliases when leaving a directory with funks
  • If you had a terminal open with funks, opening up another one would load the funks from the other one

It probably isn't the prettiest script ever made, but it's honest work.

I wanted to submit a pull request, but setting up the dev environment didn't work for me. I am really not used to python, but I'll try to set that up properly and submit a proper pull request with tests etc... when i have more time.

The modified script enables you to load as many funks per terminal as you wish, without influencing the others and unset properly everything when leaving folder containing the funks for that terminal.

You can find the modified script here: https://gist.github.com/french-frie/e2dba185419f69f22a6835cf4cbe4aca

Feel free to modify it as you wish, i have tested it as much as i could and it's running smoothly on my machine and absolutely love it. It replaces ~/.local/share/funky/funky.sh

@bbugyi200 Feel free to take the script and run it through a bunch of tests and release a version if you feel it is worth it or if my PR don't come.

Cheers

from funky.

unikitty37 avatar unikitty37 commented on June 3, 2024

Thanks — I ended up using smartcd instead, as I was able to get that working the way I wanted.

from funky.

Related Issues (20)

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.