1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-15 15:51:42 +00:00

[Fix #60] Do not use parentheses in function names

This commit is contained in:
Sorin Ionescu
2012-03-23 14:57:51 -04:00
parent a3b92bb053
commit 6a9a4ea8d6
22 changed files with 66 additions and 67 deletions

View File

@ -5,7 +5,7 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
function manb() {
function manb {
local page
if (( $# > 0 )); then
for page in "$@"; do

View File

@ -5,7 +5,7 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
function manp() {
function manp {
local page
if (( $# > 0 )); then
for page in "$@"; do

View File

@ -12,12 +12,12 @@ alias cdf='cd "$(pfd)"'
alias pushdf='pushd "$(pfd)"'
# Open files in Quick Look.
function ql() {
function ql {
(( $# > 0 )) && qlmanage -p "$@" &> /dev/null
}
# Delete .DS_Store and __MACOSX directories.
function rm-osx-cruft() {
function rm-osx-cruft {
find "${@:-$PWD}" \( \
-type f -name '.DS_Store' -o \
-type d -name '__MACOSX' \