From 541c1ddddc637163d87a070173e686393485d98b Mon Sep 17 00:00:00 2001 From: hellerve Date: Fri, 2 Sep 2016 19:57:47 +0200 Subject: [PATCH] added gclone command and documented my zeptorc file --- zeptorc | 13 ++++++++++++- zshrc | 4 ++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/zeptorc b/zeptorc index 4c10f88..2ecaab8 100644 --- a/zeptorc +++ b/zeptorc @@ -1,6 +1,17 @@ (zepto:add-to-path (++ (get-home-dir) "/.zeps/")) -(define col (lambda (x) (color x #{:to-str #t}))) + (define (*prompt*) + "my personal prompt customization + + complexity: O(1) + returns: the prompt string" + (define col (lambda (x) (color x #{:to-str #t}))) (++ (col :blue) (col :bold) "zepto [" (->string *statement-count*) "]> " (col :reset))) + (define (*ret*) + "my personal return customization + + complexity: O(1) + returns: the return string" + (define col (lambda (x) (color x #{:to-str #t}))) (++ (col :red) (col :bold) "=[" (->string *statement-count*) "]> " (col :reset))) diff --git a/zshrc b/zshrc index 2d1a6e9..13cb162 100644 --- a/zshrc +++ b/zshrc @@ -412,6 +412,10 @@ elif type compctl &>/dev/null; then fi ###-end-npm-completion-### +function gclone { + git clone https://github.com/$1 +} + function zeptosay () { x=`fortune` zepto ~/.scripts/zeptosay.zp $x