290 reputation
29
bio website railsonmaui.com
location Paia, HI
age
visits member for 2 years, 5 months
seen 5 hours ago

Feb
23
comment How do I convert an SVG to a PDF on Linux
Will this convert to a cmyk color space?
Dec
14
comment How to run “time” on a function in zsh
Nice. THanks for the help.
Dec
6
comment Any way to get list of functions defined in zsh (like alias command for aliases)
1) most current zsh, 2) function __rvm_checksum_read runs, and returns error code 1
Dec
6
comment Any way to get list of functions defined in zsh (like alias command for aliases)
_checksum_sha512="$( "$rvm_scripts_path/db" "$rvm_path/config/sha512" "$_name" | head -n 1 )" [[ -n "${_checksum_sha512:-}" ]] || _checksum_sha512="$( "$rvm_scripts_path/db" "$rvm_user_path/sha512" "$_name" | head -n 1 )" __rvm_checksum_none || return 0 done return 1 fi done fi done }
Dec
6
comment Any way to get list of functions defined in zsh (like alias command for aliases)
__rvm_checksum_read () { __rvm_checksum_none || return 0 typeset _type _value _name typeset -a _list list=() for _name in "$@" do list+=("$_name") if [[ "$_name" =~ "?" ]] then repeat st do if then for _name in "${list[@]}" do _checksum_md5="$( "$rvm_scripts_path/db" "$rvm_path/config/md5" "$_name" | head -n 1 )" [[ -n "${_checksum_md5:-}" ]] || _checksum_md5="$( "$rvm_scripts_path/db" "$rvm_user_path/md5" "$_name" | head -n 1 )"
Dec
6
comment Any way to get list of functions defined in zsh (like alias command for aliases)
3) which __rvm_checksum_read hangs as well. Contents are:
Dec
6
comment Any way to get list of functions defined in zsh (like alias command for aliases)
functions > /tmp/foo also hangs, with the last bit being written as "__rvm_checksum_read () {". I'm guessing that method must have some characters that zsh doesn't like.
Dec
5
comment Any way to get list of functions defined in zsh (like alias command for aliases)
terminal has the same issue as item 2. The answer below is AWESOME. While I'd like to know why the terminal hangs just using the 'functions' command (even when piped to less), does it matter? Any reason this will cause issues?
Dec
5
comment Any way to get list of functions defined in zsh (like alias command for aliases)
What if I want to get the functions list (not full declarations)? If I unfunction that method, another __rvm_curl also has issues.
Nov
21
comment ZSH tab completion of git commands is very slow. How can I turn it off?
This did not work for me. I'm loading the following oh-my-zsh plugins: plugins=(git gitfast last-working-dir zeus). I loaded the above function after the plugins.
Jun
16
comment How to collect all media file in a mac directory structure?
It would be great to list the pros and cons of those, especially with external USB drives with huge numbers of files.
Jun
5
comment MacOS X: How to have a handy “Open this folder in iTerm” shortcut?
I concur -- seems to work perfectly. Download zip. Drag application to Applications folder to install. Drag application to finder toolbar for the handy shortcut.
May
31
comment How to determine full command with args given a pid (or port in use)
For some reason, if I have the command rails server running, I only get "rails" as the arg. I'd like to see all the args passed.
Jan
23
comment Using tmux with both emacs and vim
This doesn't work out of the box for Mac. I went back to Ctrl-a, and switched to vim bindings and evil-mode for emacs, so I don't hit ctrl-a anymore for beginning of line.
Dec
20
comment Binding tmux command key to ctrl-\ on mac
Thanks -- In the meantime I switched to the common C-a binding and switched bash to vi mode so I don't want to hit ctrl-a all the time. So not sure if I'll go back to ctrl-\.
Aug
10
comment Passing through certain M-<key> command to OS in Emacs
What if you don't want to go to another emacs frame, but just want to move to the next app.