Jump to content


  • Content Count

  • Joined

  • Last visited

About alexcory

  • Rank

Contact Methods

  • Twitter
  • Website URL

Profile Information

  • Location
    San Francisco
  • Interests
    Love Mt. Biking, Snowboarding, and just all outdoor activities. I also love creating things.
  1. You could maybe add a setting called "text expansion key" so people could use other keys too. I just think tab is super intuitive and it allows it so your snippets don't interfere with other text you might be typing. Some people may prefer the enter key. Anyway, I will promote the shit out of the text expansion for Alfred if you add this one feature. Until then I'll have to stick with aText
  2. Basically what I want is instead of "auto expanding" what would be nice is to type your keyword, and then hit tab to expand it. Example: (you type) lorem + TAB which would equate to Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culp
  3. Okay, so I thought this through a little more and here's what I've gotten so far. I need to be able to grab the file path of the current project that I have open. I thought of a couple different ways to do this. First of all, at least for me, I only have 2 `workspaces` I used to house all of my projects on my machine. `htdocs` and `git repositories`. I'm assuming most developers do the same. With this in mind, I feel like developers could set their project directories initially which would give me the place to stop when pattern matching in the next step. I could then use Applescrip
  4. So I'm trying to build a workflow where you would initially set whether you wanted to use the absolute path or relative path. It would then recognize the file you are currently in based off of where you're cursor is (shouldn't matter what IDE you're in), also recognize the project directory that is open. You would then be able to fuzzy search (or just regular search) the current project directory for a file you want to include in your current file (ie: a CSS file or something). When you hit enter, it would then either paste in the relative path or absolute path depending on what you
  5. Awesome, I just tried this and I guess some other app is overriding the ⌥+C command. I know this doesn't pertain to you guys, but any advice on how to find out what's causing this? Maybe like some sort of global "key conflicts" or just away to see which apps are controlling which hotkeys? I really appreciate the help by the way!
  6. I can't find out which workflow is using ⌥+C. Any workflows to search through the hotkeys that are currently being used? I tried using the Help workflow but I'm not able to search through the created 'alfred-help.md' file. It's only showing a preview of the file and I wasn't able to locate where the file is at on my machine.
  7. `git` is in both `usr/local/bin` and `usr/bin/`. The same thing goes for `rsync`. At least I was able to see both of them in both directories. Could you walk through what's going on in those commands? Does the " --git-dir " portion return the git repository that you're currently selecting? What does the " --work-tree do? How does the ".git" work? The .git part is mostly what's throwing me off I think. // Add all the files $command = "git --git-dir $github/.git --work-tree $github/ add $github/*"; exec($command);
  8. Hey Andrew! I really appreciate the help! Here's what I've tried: turning off the `⌘-Click Opens Filename/URL` setting in iTerm to see if that might help. You don't think symlinks would have anything do with this do you? (Just curious). I had to reinstall Alfred when I reformatted my computer a couple weeks back. (Should I try reinstalling it again?) ​There's been some other problems but I pretty much have them all figured out. I just haven't had time to figure this one out lately. Help would be greatly appreciated! -Alex (btw, favorite app on my mac. I customized my mac t
  9. Whenever I go to open a URL, it opens the default terminal (iTerm) instead of opening the url. I think I figured out what the problem is though. (partially) I noticed there were two chrome images on the drop-down as you can see from this image. Any idea on what might be causing this/how to fix it?
  10. I can't seem to get the php to execute the command I'm giving it in the terminal. The Problem: 1. Won't actually perform the task in iTerm 2. My plugins don't open at vim startup if I start vim like this vim ~/path/to/directory But will work with this cd ~/path/to/directory; vim Here's what I put in php: $dir = "{query}"; $cmd = "cd " . "$dir" . "; vim"; //echo $cmd; //ouputs: cd path/to/proper/directory; vim; exec("$cmd"); // doesn't even open the terminal $dir = "{query}"; $cmd = "open -a iTerm; cd" . "$dir" . "; vim;"; // IF TERMINAL SWITCH THE ABOVE iTerm TO Terminal
  11. I'm pretty sure it's not a good idea to put cd in there but it made it work properly without opening the terminal every time. It ended up looking like this. # -- Step 1: Sync Local Directories -- rsync -avz /path/to/directory1/ ~/path/to/local/git\ repository/for/directory1/; # rm -r .DS_Store; # -- Step 2: Push Changes To Github -- cd ~/path/to/local/git\ repository/for/directory1/; git add *; git commit -m "{query}"; git push --all Is it not good practice to put the cd in there? Can it cause problems or anything?
  12. Why does this work in if I put it in a Terminal Command but not in a Run Script set to /bin/bash/? # -- Step 1: Sync Local Directories -- rsync -avz /path/to/directory1/ ~/path/to/local/git\ repository/for/directory1/; # rm -r .DS_Store; # -- Step 2: Push Changes To Github -- ~/path/to/local/git\ repository/for/directory1/; git add *; git commit -m "{query}"; git push --all
  • Create New...