Jump to content

Search the Community

Showing results for tags 'shell'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Categories

  • New Features
  • Other

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 18 results

  1. This is a workflow for easily downloading videos (and/or extracting audio) from various websites such as YouTube, Vimeo, DailyMotion and more... It uses youtube-dl as the core component. Main Features: Download video from URL. vd {video-url} Download and extract audio into an MP3 file. vd-audio {video-url} Display and download video metadata (json). vd-info {video-url} Update core component (youtube-dl). vd-update Display quick help in Large Type. vd-help Note: vd-update command currently only updates youtube-dl, not the workflow itself. Please see full details, updates (and
  2. I want to be able to launch some zsh/bash commands from the Alfred's bar. I sat the prefix to my likings, selected "Custom", modify the script accordingly. on alfred_script(q) tell application "iTerm" activate do script q end tell end alfred_script But it doesn't work.
  3. Hey guys! Some of you out there (unfortunately, probably not that many) may have heard of the terminal emulator Kitty. It's cross platform, fast, and quite customizable. Long story short, I replaced Terminal.app with Kitty (iTerm never seemed to meet my needs). However, it took quite a lot of work to get Kitty to work when I entered a shell command (i.e. "> echo hello") into Alfred. At last, after much messing around, I finally got it working, and have come to share how I did that in case anyone else wants to do it too. Go to Features > Terminal / Shell and change Applicatio
  4. Hey All, Looking for a solution on a very minor annoyance, I usually run a lot of shell commands from Alfred using the > prefix, which is great! Love it! However, when it executes the command it pops open terminal and runs the command and leaves another lingering window around which I find annoying. Does anyone know of a way to force Alfred to close the window it opens after the command is executed? Very rarely do I need the returned command's output. It's usually for firing off quick things like docker pulls, file moves, git commits and such. If I n
  5. Heyho guys and girls, I just finished porting my old v1 extension NotificationControl to a v2 style workflow. You can download it here. You can use the following keywords: Show the current status of Growl and NotificationCenter : stat Pause Growl and Notification Center : pause Resume Growl and Notification Center : resume Pause or resume Growl : growl Pause or resume Notification Center : notificationcenter Close all Growl notifications : close_growl Close all NotificationCenter notifications : close_nc Show Growl’s rollup : show Hide Growl’s rollup : hide Enable Growl’s incomin
  6. In Terminal.app Preferences, I have the "Shells open with" property set to the custom "/opt/local/bin/bash" (rather than default login shell). However, if I then enter something like > echo foo in Alfred, this opens a new Terminal window but does not execute the command as it should. Alfred version: v2.8 (414) Mac OS X version: 10.10.5
  7. I was sitting there in iTerm thinking "wouldn't it be great if I could talk to Alfred directly from the terminal"? bash completion, etc. I'm not sure how to get this done; I was hoping for some guidance by the authors. Alfred's AppleScript library only exposes a few functions. If I wanted to use completion, I'd need a list of all of its keywords. However, if that list existed, I'm sure I could work something out. It'd be pretty awesome. Chris
  8. I would like to write an Alfred workflow that acts as a thin wrapper around a command line application which takes many option flags and arguments. Is there any way to integrate Alfred with the bash completion script of this application in such a way that the possible completions of a partially entered command are displayed?
  9. Fish Toolbox This is a toolbox of functions for working with the [Fish Shell](http://fishshell.com/). You can install fish shell with homebrew: brew install fish Currently, the functions are: f:seteditor Set the code editor to use f:editfunction Edit a Fish function. It will show a list of possible functions to edit. If you press FN key and select a function, that function will be deleted. f:editconfig Edit the Fish Configuration file. f:newfunction Create a new fish function. with more to come. You can download it from my GitHub account: https://gith
  10. Hi, Alfred v2.1.1 (227), OS X 10.9.1 Recreate: always Steps: 1. Open Alfred Preferences, 2. Features Tab, Terminal / Shell feature 3. Select Application, custom 4. Paste in custom applescript (mine is https://gist.github.com/itsthejb/8900078) 5. Close preferences window 6. Use action - works Expected: Open Alfred preferences, features, terminal / shell, apple script is still set in custom Actual: Reverts to Appliction: Terminal (script doesn't persist) Note: The action seems to work at first, but is eventually lost, especially between boots
  11. Helps you lookup what shell commands mean using http://explainshell.com. Your OS X installation should have PHP 5.3.3 or newer installed. Lion or Mountain Lion should meet the minimum requirements. If not, you can install the latest version of PHP with MacPorts or Homebrew. Download! Requires Alfred 2 and the Powerpack. Updates can be found and installed using Monkey Patch, or the older Alleyoop (discontinued).
  12. I am working on a workflow which should execute a shell script command for of the documents (*.xml files) currently selected in the Finder. I did some experiments around it, but could not get it to work yet. Any pointers, e.g. what workflow elements I will need? I am currently thinking along the lines of first calling an applescript which gives me the selected files, then filtering out only the xml files and lastly calling a shell script for each of the files or alternatively calling the script once but passing along an array of xml files. What do you guys think? Thanks for any su
  13. The following command download magnet link to a local torrent file /usr/local/bin/aria2c --bt-metadata-only=true --bt-save-metadata=true 'magnet:?xt=urn:btih:9cf3900966073b22a8580c1152221c7edefe2186&dn=Superman.Man.of.Steel.2013.720p.R6.LiNE.x264.AAC-DiGiTAL&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337' It works fine if I run it in the Terminal. But the same command fail to run from alfred workflow "Run Script" ac
  14. Quick Jot Workflow. Collect Time-stamped stacking jots in a single text file. New jot will be placed on the first of the file. Modify the file location for your need. Type "." in Alfred2 Input and write a simple note. Intended to personal use with Dropbox, iPhone, Unclutter. http://dl.dropboxusercontent.com/u/67598652/Files/Quick%20Jot.alfredworkflow
  15. I wrote a script like this, #!/bin/sh HEXO=/Users/cinvro/nvm/v0.10.15/bin/hexo cd ~/Work/hexo/cinvro.com/ $HEXO generate it works when I execute it in my terminal,but it doesn't work when I put it in a Alfred2 Workflow. hexo here is a node.js program.
  16. Hi there, I was wondering what's the best way to display a multiline return for a shell command. For example if I did a LS directory and wanted to show the entire output. Using the traditional methods with a notification will show the first line, but not the rest. I have a work around in play by using the qlmanage command to display a text file in the quick look window. But I feel this is probably not the best way.
  17. I have installed mpd and ncmpcpp, controlling it via terminal is fairly easy: ncmpcpp toggle # Toggles play/pause But when I try to make the same trick with Alfred Workflow (Trigger: Hotkey --- Action: Run Script --- Output: Post Notification) with this shell script: ncmpcpp toggle or sh /path/to/myscript.sh --------------------------------------------------- #!/bin/bash ncmpcpp toggle ...only notification pops out. Same thing happens with Automator. So, how can I control ncmpcpp via Alfred 2?
  18. As simple as title says. Yes, I know many of ~ similar ~ workflows exist, however this is quite different from others as it doesn't use notifications, but rather native OS X dialogue window for showing the output of executed command. Download: https://github.com/makov/alfred-goodies/raw/master/Shelly.alfredworkflow
×
×
  • Create New...