summaryrefslogtreecommitdiff
path: root/.zsh_functions
diff options
context:
space:
mode:
authorHendrik Jaeger <git-commit@henk.geekmail.org>2018-10-10 21:12:18 +0200
committerHendrik Jaeger <git-commit@henk.geekmail.org>2018-10-10 21:12:18 +0200
commit17b5541547b07a4154c7603a4f20ddc3ca519f35 (patch)
treed6629df602fcdd69f876081dbd891208032d2f37 /.zsh_functions
parent336c376355be57d54be3437655ea99d6d1c8c708 (diff)
Add antigen, install a few plugins
Diffstat (limited to '.zsh_functions')
-rw-r--r--.zsh_functions92
1 files changed, 46 insertions, 46 deletions
diff --git a/.zsh_functions b/.zsh_functions
index 181d4ba..abc9d22 100644
--- a/.zsh_functions
+++ b/.zsh_functions
@@ -1,49 +1,49 @@
-function info_print () {
- local esc_begin esc_end
- esc_begin="$1"
- esc_end="$2"
- shift 2
- printf '%s' ${esc_begin}
- printf '%s' "$*"
- printf '%s' "${esc_end}"
-}
-
-function set_title () {
- info_print $'\e]0;' $'\a' "$@"
-}
-
-function ESC_print () {
- info_print $'\ek' $'\e\\' "$@"
-}
-
-preexec () {
- case $TERM in
- (xterm*|rxvt*)
- set_title "${(%):-"%n@%m:"}" "$1"
- ;;
- (screen*)
- local CMD=${1[(wr)^(*=*|sudo|ssh|evince|-*)]}
- ESC_print ${CMD}
- ;;
- esac
-}
-
-precmd () {
- case $TERM in
- (xterm*|rxvt*)
- set_title ${(%):-"%n@%m: %~"}
- ;;
- (screen*)
- ESC_print "zsh"
- ;;
- esac
-
- vcs_info
-
-# local INBOXINFO="$(task rc.gc=off rc.verbose=nothing +in +PENDING count) "
-
- PS1="${HENKSPROMPTHEADER}%(0?..%F{red}E%?%f )%(1j.%F{yellow}J%j%f .)%(3L.%F{yellow}L%L%f .)%3~ %F{green}$VCSH_REPO_NAME%f%F{yellow}${vcs_info_msg_0_}%f%# "
-}
+#function info_print () {
+# local esc_begin esc_end
+# esc_begin="$1"
+# esc_end="$2"
+# shift 2
+# printf '%s' ${esc_begin}
+# printf '%s' "$*"
+# printf '%s' "${esc_end}"
+#}
+#
+#function set_title () {
+# info_print $'\e]0;' $'\a' "$@"
+#}
+#
+#function ESC_print () {
+# info_print $'\ek' $'\e\\' "$@"
+#}
+#
+#preexec () {
+# case $TERM in
+# (xterm*|rxvt*)
+# set_title "${(%):-"%n@%m:"}" "$1"
+# ;;
+# (screen*)
+# local CMD=${1[(wr)^(*=*|sudo|ssh|evince|-*)]}
+# ESC_print ${CMD}
+# ;;
+# esac
+#}
+#
+#precmd () {
+# case $TERM in
+# (xterm*|rxvt*)
+# set_title ${(%):-"%n@%m: %~"}
+# ;;
+# (screen*)
+# ESC_print "zsh"
+# ;;
+# esac
+#
+# vcs_info
+#
+## local INBOXINFO="$(task rc.gc=off rc.verbose=nothing +in +PENDING count) "
+#
+# PS1="${HENKSPROMPTHEADER}%(0?..%F{red}E%?%f )%(1j.%F{yellow}J%j%f .)%(3L.%F{yellow}L%L%f .)%3~ %F{green}$VCSH_REPO_NAME%f%F{yellow}${vcs_info_msg_0_}%f%# "
+#}
function vifind () {
vi $( find $@)