added gclone command and documented my zeptorc file
This commit is contained in:
13
zeptorc
13
zeptorc
@@ -1,6 +1,17 @@
|
|||||||
(zepto:add-to-path (++ (get-home-dir) "/.zeps/"))
|
(zepto:add-to-path (++ (get-home-dir) "/.zeps/"))
|
||||||
(define col (lambda (x) (color x #{:to-str #t})))
|
|
||||||
(define (*prompt*)
|
(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)))
|
(++ (col :blue) (col :bold) "zepto [" (->string *statement-count*) "]> " (col :reset)))
|
||||||
|
|
||||||
(define (*ret*)
|
(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)))
|
(++ (col :red) (col :bold) "=[" (->string *statement-count*) "]> " (col :reset)))
|
||||||
|
4
zshrc
4
zshrc
@@ -412,6 +412,10 @@ elif type compctl &>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
###-end-npm-completion-###
|
###-end-npm-completion-###
|
||||||
|
|
||||||
|
function gclone {
|
||||||
|
git clone https://github.com/$1
|
||||||
|
}
|
||||||
|
|
||||||
function zeptosay () {
|
function zeptosay () {
|
||||||
x=`fortune`
|
x=`fortune`
|
||||||
zepto ~/.scripts/zeptosay.zp $x
|
zepto ~/.scripts/zeptosay.zp $x
|
||||||
|
Reference in New Issue
Block a user