]> 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 57ff1526174025cf7b9de900b446f93a13368215..f7e8f2d258373dc0d487acf12b6c4f3e155f13c7 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -1,9 +1,21 @@
 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
+zle -N edit-command-line
 
 HISTFILE=~/.zsh_history
 HISTSIZE=5000
@@ -15,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
 
@@ -26,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
@@ -46,5 +71,6 @@ setopt LONG_LIST_JOBS
 
 bindkey -e
 
-#read -q "REPLY?Exec to fish? " && exec fish -i
+#task awaiting
 
+cat ~/.motd