X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=.zshrc;h=f7e8f2d258373dc0d487acf12b6c4f3e155f13c7;hb=refs%2Fheads%2Fsecurosys;hp=e29b0d6fcb51f1ccd4ea5e89d7ed318336871384;hpb=c6f847b4678c616bd09ebfcf3980ffbabef10caf;p=user%2Fhenk%2Fvcsh%2Fzsh.git diff --git a/.zshrc b/.zshrc index e29b0d6..f7e8f2d 100644 --- a/.zshrc +++ b/.zshrc @@ -1,7 +1,21 @@ -. ~/.zshcomprc +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 @@ -9,11 +23,22 @@ SAVEHIST=3000 REPORTTIME=10 -PS1="%F{red}%D{%A}%f %F{green}%D{%F %T Week %V}%f %F{blue}%D{Epoch %s}%f %F{yellow}%n@%m%f -%j %3~%# " +HENKSPROMPTHEADER=$'%F{red}%D{%a}%f %F{green}%D{%F %T Wk %V}%f %F{blue}%D{%s}%f %F{yellow}%n@%m%f\n' + PATH=~/bin:~/usr/bin:~/usr/local/bin:$PATH -PASSWORD_STORE_DIR=. +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