]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blobdiff - .zshrc
Add 'pass' functions
[user/henk/vcsh/zsh.git] / .zshrc
diff --git a/.zshrc b/.zshrc
index a575e6c68d460d903c6dc4dd388cba4d8ac9a85e..f7e8f2d258373dc0d487acf12b6c4f3e155f13c7 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -2,9 +2,16 @@ autoload -Uz vcs_info
 autoload -U edit-command-line
 
 . ~/.zsh_comprc
+. ~/.zsh_taskwarrior
+
 . ~/.zsh_functions
+. ~/.zsh_functions_media
+. ~/.zsh_functions_taskwarrior
+
 . ~/.zsh_aliases
 . ~/.zsh_local
+. ~/.zsh_qemu
+. ~/.zsh_pass
 
 zle -N zle-line-init
 zle -N zle-keymap-select
@@ -20,6 +27,19 @@ HENKSPROMPTHEADER=$'%F{red}%D{%a}%f %F{green}%D{%F %T Wk %V}%f %F{blue}%D{%s}%f
 
 PATH=~/bin:~/usr/bin:~/usr/local/bin:$PATH
 
+hash -d diary=~/Data/henksfiles/TODO/henksfiles/documents/private/diary
+hash -d bewerbung=~/Data/henksfiles/workinprogress/Dokumente/bewerbung
+hash -d rezepte=~/Data/henksfiles/workinprogress/Dokumente/rezepte/cuisine
+hash -d templates=~/Data/henksfiles/workinprogress/templates
+hash -d gitignore=~/Data/public/software/gitignore
+hash -d doc=/usr/share/doc
+
+## define word separators (for stuff like backward-word, forward-word, backward-kill-word,..)
+#WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>' # the default
+#WORDCHARS=.
+WORDCHARS='*?_[]~=&;!#$%^(){}'
+#WORDCHARS='${WORDCHARS:s@/@}'
+
 setopt AUTO_CD
 setopt CHASE_LINKS
 
@@ -31,10 +51,10 @@ setopt MARK_DIRS
 setopt NUMERIC_GLOB_SORT
 setopt RC_EXPAND_PARAM
 setopt WARN_CREATE_GLOBAL
+setopt GLOB_DOTS
 
 setopt HIST_IGNORE_ALL_DUPS
 setopt HIST_IGNORE_SPACE
-setopt HIST_NO_STORE
 setopt HIST_REDUCE_BLANKS
 setopt HIST_VERIFY
 setopt INC_APPEND_HISTORY
@@ -49,22 +69,8 @@ setopt AUTO_CONTINUE
 setopt NO_BG_NICE
 setopt LONG_LIST_JOBS
 
-bindkey -v
-
-# Use vim cli mode
-bindkey '^P' up-history
-bindkey '^N' down-history
-
-# backspace and ^h working even after
-# returning from command mode
-bindkey '^?' backward-delete-char
-bindkey '^h' backward-delete-char
-
-# ctrl-w removed word backwards
-bindkey '^w' backward-kill-word
+bindkey -e
 
-# ctrl-r starts searching history backward
-bindkey '^r' history-incremental-search-backward
+#task awaiting
 
-# v in command mode starts editor for current line
-bindkey -M vicmd v edit-command-line
+cat ~/.motd