Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


nikivi last won the day on January 2

nikivi had the most liked content!


About nikivi

  • Rank
    Advanced Member

Contact Methods

  • Twitter
  • Website URL

Profile Information

  • Gender
  • Location
  • Interests
    Karabiner, Alfred, Software and making things.

Recent Profile Visitors

8,548 profile views
  1. I am curious if you had any time yet to look at this. I would really appreciate this feature as I use Contacts Filter a lot during my day and getting values from fields like `GitHub`, `Twitter`.. with modifiers would save me a lot of time. Thank you.
  2. I have this workflow and inside it in a red Bash Run Script I want to send an HTTP request that needs as OAuth my GitHub username and password. I want to be able to share this workflow with other people and thus I don't want to put my GitHub credentials in the workflow. The request I need to send is this: https://developer.github.com/v3/repos/#delete-a-repository Actually I think I can get a GitHub OAuth token and save it in Alfred dirs somewhere and then use that but those Alfred directories always confused me. 😞
  3. Never mind all this. I solved it by simply running these `hub` commands in iTerm by creating a zsh function and calling that in iTerm. Zsh function: # Fork cloned repo gfr(){ hub fork git branch --set-upstream-to nikitavoloboev/master master git remote rename origin upstream; git remote rename nikitavoloboev origin } And I just made AppleScript run the commands in succession like so: ❯ cd ~/dev/forks/codehn && gfr && exa Here is the final workflow in the odd chance anyone wants to use it. 😀 Thank you very much @vitor
  4. Yay. It now forks the repo. However a strange thing happens where the AppleScript that should then cd into the directory I moved to ~/dev/forks doesn't do that. It prints: cd Updating new remote: ~/dev/forks/bat && exanikitavoloboevnikitavoloboev instead of `cd ~/dev/forks/bat && exa. It's strange because I thought that Bash should run things one after another. So it should wait until hub fork finishes doing its thing. And then runs the other stuff like moving the directory, running the two git commands I do: #/usr/local/bin/hub branch --set-upstream-to nikitavoloboev/master master #/usr/local/bin/hub remote rename origin upstream; git remote rename nikitavoloboev origin And then I echo the path of where the fork now should lie with: echo "~/dev/forks/$CLONE_DIR_NAME" The only thing I did change was to add source ~/.zshrc at the top of the Run Script object. Here is the updated workflow. Here is what I get in debugger when I run the action. Should I perhaps put some pauses in the bash script? It already runs slower than I would like it to presumingly because of me sourcing my entire shell env.
  5. The only hub related option I see there is: hub.protocol=https The rest is things from my git config file. Here is an image of it, maybe it is helpful:
  6. I don't have this file. And both of those variables are empty for me. The hub fork works perfectly well when ran from iTerm.
  7. I started to colour Alfred objects that have errors in them and need to be fixed in red colour. A kind of TODO but without actually writing TODO in a note or anywhere. I also made a KM macro to quickly do the colouring of the object so I don't have to do it manually: It helps me quite a bit.
  8. I have this workflow originally made by @vitor and modified by me. It is messy but it works for nearly everything I need it to do. Except one thing. This script tries to run inside it `hub fork`. I have downloaded hub on my system. And I give the full path to hub like so: /usr/local/bin/hub. This fails for me and doesn't actually do the fork. If I run the same command in my terminal however, the command works perfectly well. The debugger shows this when I run it: [2018-05-14 20:31:17][input.scriptfilter] Processing output of 'action.script' with arg '/Users/nikivi/dev/clones/subliminal' [2018-05-14 20:31:17][ERROR: action.script] Error forking repository: Unauthorized (HTTP 401) Requires authentication fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git I suppose it is because Alfred doesn't see my GitHub credentials attached to my Git config but I am not sure how I can solve this, if I can. The purpose of this this object is that after I scan my ~/dev/clones directory and get a list of different repos there, I run an action and it forks the repository using `hub fork` command and then moves the repo from ~/dev/clones to ~/dev/forks. The moving part works, it's the forking that doesn't. Thank you for any help.
  9. I have two themes I like to use. One dark and one light theme. I would like to have Alfred use one of these themes in some apps but not others. In my case I would like to have Light theme be Default. However I want to make iTerm and Sublime Text two apps where Alfred invocation (both normal hotkey or triggered through hotkey or external trigger) will use the Dark theme instead. Would this be possible to add to Alfred?
  10. nikivi

    Ayu Light

    Turns out someone already made a perfect light theme. Thank you @Florian and his Paper theme.
  11. nikivi

    Ayu Light

    Thanks. Fixed. 🙂
  12. nikivi

    Ayu Light

    Ayu Light Theme I have recently started using more light themes for writing code and have been enjoying using Ayu theme across all my editors. Sublime / VS Code / Vim. So I made a light theme for Alfred that I now use. Here is how it looks: I use D'Angelo theme for when I want to use a 'dark' theme. Ayu Light Theme Download
  13. nikivi

    Alfred my mind

    Released new update to update the index for the wiki. The wiki is pretty big now and I use it myself many many times a day. I hope someone else might find it useful too. Let me know if you do. 🙂 This should be the last update with manual index update, next update should install the SUMMARY.md index from GitHub and cache it for a week or so. I am still battling with how to make it work on the Go side but I'll manage it soon. Also I cannot wait to split the mess that this workflow is and separate the curated lists stuff and put it in Alfred Learn Anything. Everything cached and automatically updated right from GitHub. Would be crazy cool. Hope you like the update. 💜
  14. Since Alfred allows to colour workflow objects to many colours, I wonder if anyone actually use this feature to somehow separate objects in some way. Perhaps by group or some kind of category or meaning. I know I am curious about this as I never actually added any colours in my workflows, only notes. I was inspired to ask this question from @deanishe's Safari Assistant workflow as I saw he used colours to neatly group certain workflow objects together that I found quite cool. Anyone else does something similar? Would love to hear your thoughts/reasoning on it.