Better HN
topnewbestaskshowjobs
Log inSign up

kstock

7 karma · joined Jul 24, 2013 (13y ago) · 4 submissions

Submissions

comment 12y ago · link · parent

I put L in 'single quotes' or I \escape it

  touch 'L'
  ls 'L'
  ls \L

comment 12y ago · link · parent

A killer feature not listed here is global aliases. These are aliases that can be anywhere in a line. The most use I get out of this is from having

   alias -g L=' | less '
which allows me to simply append "L" to a line to pipe the output to less.

    ls L
The pattern of short all-caps global aliases for ' | command 's make building/editing pipelines really easy/fast.

    alias -g C=' | wc -l '
    alias -g A=' | ack-grep '
    alias -g S=' | sort '
    alias -g JQL=' | jq -C  | less'

    ls **/*png L
    ls **/*png A -v regex C
    curl $site JQL
putting

bindkey '^g' _expand_alias

in your zshrc allows you to expand aliases with <C-g>

You can find more global aliases and tips at: http://grml.org/zsh/zsh-lovers.html

comment 13y ago · link · parent

I've found vrome to be a more feature rich alternative to vimium, it still can't compare to Pentadactyl though. https://github.com/jinzhu/vrome

comment 13y ago · link · parent

Very Exciting.

I recently watched a talk by Ed Witten where he said that he thought that quantum physics would be useful for number theory eventually, it's cool to see this borne out in the present day.

Here is the talk (Knots and Quantum Theory) at the moment during the Q&A where he was asked about this. http://youtu.be/8nA17Id4JyU?t=45m3s