Comments (16)
@bucaran nope it's fixed!
from z.
Right, I think this is because debug
isn't included as a dependency in fin, but it is in fisherman. I think It's better that I clear off uses for that. Gonna fix it and do a quick push. Thanks for reporting!
from z.
I think I fixed it, now it doesn't have any external dependencies whatsoever. Would love for you to try again. Thanks!
EDIT: missed out getopts
from z.
I face another problem now:
fin only copies only .fish
files over, which leaves the .awk files behind. Do you think it would be a good idea to put the awk scripts into the fish files?
Or is this a problem that package managers like fin are supposed to solve?
from z.
I tried the updated version and it does not output any error now.
Regarding the awk issue, since fin
itself uses awk inside the script, I guess going inline would be the way to go.
from z.
this was fixed in fin after talking to @bucaran .
I like my awk files outside, but when I bump into issues again, I'll move them into their .fish files.
from z.
@jethrokuan The awk files issue is fixed now, did I miss something?
from z.
nope it's fixed!
Is it? I'm confused, awk files are still missing. I'm running fin v7 on Debian.
from z.
@Perlence Are you using fisherman or fin?
from z.
Yep, I'm using fin this time 😄
from z.
And what's the problem exactly? I am pretty sure this issue was created based on a very early version of fin, possibly entirely different to the one you are using now :P
from z.
Yes, I understand, but I looked to find similar issues here, and I thought that this one looked close enough.
The problem is that after installing fisherman/z
with fin, it throws an error on invocation:
> cd ~/.config/fish
> cat fishfile
fisherman/z
> fin
> z dot
awk: fatal: can't open source file `/home/sviatoslav/.config/fish/functions/z.awk' for reading (No such file or directory)
> ll functions
total 32K
-rw-rw-rw- 1 sviatoslav sviatoslav 7.9K Aug 13 23:03 fin.fish
-rw-rw-r-- 2 sviatoslav sviatoslav 2.0K May 26 19:52 getopts.fish
-rw-rw-r-- 2 sviatoslav sviatoslav 268 Aug 3 15:50 uninstall.fish
-rw-rw-r-- 2 sviatoslav sviatoslav 512 Aug 3 15:50 __z_add.fish
-rw-rw-r-- 2 sviatoslav sviatoslav 1.8K Aug 3 15:50 __z.fish
-rw-rw-r-- 2 sviatoslav sviatoslav 1.2K Aug 3 15:50 __zo.fish
Files z.awk and zadd.awk are missing.
from z.
Gotcha. Yes, fin won't play well with this plugin because it does not copy .awk or any other script files into the functions diretory, only .fish files.
This is not a problem with fin, it's just how it was designed, for simplicity. See this
https://github.com/fisherman/fin/issues/5#issuecomment-222481377
from z.
Ok, I see. So, how would you make this plugin work? Copy awk files yourself, or embed them in a fish file, or something else?
from z.
If you must use z and fin, then copy the .awk files to the same directory where the .fish files are, possibly ~/.config/fish/functions. The fin way is for plugins that use awk/perl to embed the script in the same file.
I'm glad you are using fin. It's my favorite!
from z.
Thank you, I'll try one of the approaches 🙇
from z.
Related Issues (20)
- Index lost HOT 3
- cached Z_DATA path not portable HOT 4
- z "A" goes to subdir "A/B" HOT 1
- Doesn't work with paths with hyphens in them HOT 4
- Completions shipped in dir incompatible with fisher 4 HOT 5
- Feature request: `-c` option (restrict matches to subdirectories of the current directory) HOT 1
- z fails to install HOT 1
- z index forgot after reboot
- z vs zoxide HOT 5
- Z_DATA file is not updating
- Freezes on MacOS? HOT 4
- Z error when launching fish from PyCharm HOT 8
- Ability to retain a larger history of directories HOT 5
- Feature request - add a directory without cding HOT 3
- Z_CMD reset by fisher refresh HOT 8
- fish 3.1.0: __z --list | fzy results in tcsetattr error HOT 4
- in centos7.4 bash: argparse: command not found... HOT 3
- Support using fzf to pick a previous directory via keybinding HOT 1
- Tab completion should be in order of relevance HOT 3
- Match shortest?
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 z.