Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Acidham last won the day on January 5

Acidham had the most liked content!

1 Follower

About Acidham

  • Rank

Profile Information

  • Location
    Deep South of Germany

Recent Profile Visitors

3,089 profile views
  1. @deanishe thx, the latter is how I am doing it right now. I assume most other user can change PATH if necessary. Thank you @deanishe and @vitor for quick and fast help on that...much appreciated!
  2. Confused now. Is this approach not binding your workflow to your machine only? @Andrew not sure if that makes sense but an Alfred enhancement to allow users to configure env would solve this problem or am I wrong ?
  3. This is what I want to avoid. Therefore I thought that good practice is to use/usr/bin/env python3 shebang. I thought when I would use absolute path to python 3.8 interpreter I am releasing a WF that just works on my system 😕
  4. Ok got it, but this means that Alfred uses own env? Is there a way to configure Alfred's zsh env? strange, I never experienced this issue but since I decided to ignore Python Version < python 3.8 this seems to be a bummer 😕
  5. When I add shebang #!/usr/bin/env python3 to my python WFs Alfred is always picking up Python 3.7.3 but I am expecting version 3.8.2. When I run /usr/bin/env python3 -V on iTerm or Terminal I am getting version 3.8.2 I checked the PATH in Alfred WF python script and I am getting: PATH: /usr/bin:/bin:/usr/sbin:/sbin In iTerm or Terminal, I am getting: /Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/usr/local/go/bin:/Users/jjung/Library/Python/2.7/bin:/usr/local/opt/fzf/bin I am using zsh and therefore I checked which SHELL the Alfred WF python script is using with os.environ['SHELL']: /bin/zsh With where python3 I am getting: where python3 /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 /usr/local/bin/python3 /usr/bin/python3 Conclusion: Alfred is using zsh shell which I am also using but why it PATH in Python script is different form PATH in shell? I am not able to get Python 3.8.2 used in my scripts. What I am missing here?
  6. New version 4.0: With version 4.0 the configuration was integrated in the Workflow from List Filter. After the upgrade it is required to setup the Folder from scratch! Please ensure to write down (or Screenshot) your current configuration. Download on Git
  7. New version 3.2.2 supports sub-directory search: Download on Git
  8. I am not experienced with Anaconda but the shebang in list.py points to python 3: #!/usr/bin/env python3 you may change that. I found following article: https://docs.anaconda.com/anaconda/user-guide/tasks/integration/python-path/ Let me know if this helps...
  9. Alfred workfow to search, expore and open VSCode workspaces. Requirements Python 3 VSCode Setup Define path (workspaces_home) where VSCode workspaces are stored. The workflow also supports subdirectories in VSCode Workspace folder Set workspaces_home e.g. to /Users/user/vscode-workspaces Download on Git
  10. @friedmilk Seems yes, I played around yesterday with Brave but it seems that Brave is not handling `make new tab` properly. For other browsers it works but for Brave not.
  11. Update to v2.1: http://www.packal.org/workflow/safirechrome
  12. @zagdul I already tried but Applescript does not support nested lists, sry
  13. Good catch! Indeed it is way faster and therefore a good option. The only thing is that macOS will be shipped with Python 2.7 and Python 3 requires custom installation. But maybe I need to proceed with Python 3 instead. Interesting! As far as I understood MeiliSearch requires a server running in the background. How did you implemented this with Alfred especially starting/stopping the server?
  14. Yep I will look into add additional folders readonly
  15. I compared os.listdir (flat) vs os.walk (sub) and walk is 50 times slower. With listdir I tested with 100 k files and performance is good enough to serve md notes wf. I am happy to accept PR with subfolder scanning (Or other solutions) with compareable performance
  • Create New...