Comments (3)
@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.
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.
Thanks — I ended up using smartcd instead, as I was able to get that working the way I wanted.
from funky.
Related Issues (20)
- Migrate logging to loguru HOT 2
- Add lint check to CI
- Permit local FUNK aliases to use paths relative to the .funk file HOT 1
- Output location of funky.sh on install HOT 3
- Add `funky --init SHELL` command HOT 2
- Add github issue templates
- Fix github reported security issues HOT 2
- Migrate from TravisCI to GitHub Actions
- Add pypi, black, and isort badges to README
- json decoder error HOT 1
- Migrate usage of the `funky.utils.xdg` module to `bugyi.lib.xdg` module
- Migrate command-line parsing from `argparse` to `bugyi.lib.cli`
- Integrate pydocstyle into CI
- Add pipx install instructions to README
- The 'publish' CI stage should only be run if the 'test' and 'lint' stages pass
- Use setuptools_scm to manage funky's package version
- Run more linters in CI
- Migrate documentation from README to readthedocs?
- How can I backup my defined functions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funky.