mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 20:41:44 +00:00
Added or edited file headers.
This commit is contained in:
@ -1,4 +1,10 @@
|
||||
# Open the node api for your current version to the optional section.
|
||||
#
|
||||
# Opens the Node.js online API documentation in the default browser.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# TODO: Make the sections easier to use.
|
||||
open "http://nodejs.org/docs/$(node --version | sed 's/-.*//')/api/all.html#${1}"
|
||||
|
||||
|
@ -1,4 +1,10 @@
|
||||
# Complete npm.
|
||||
#
|
||||
# Completes npm.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
cache_file="${0:h}/cache.zsh"
|
||||
if [[ ! -f "$cache_file" ]] && (( $+commands[npm] )); then
|
||||
# npm is slow; cache its output.
|
||||
|
Reference in New Issue
Block a user