5 # source /usr/share/autojump/autojump.sh
7 fpath=(~/.zsh_functions $fpath)
9 autoload henkspngpostproc
11 autoload new_hs_project
13 autoload movies_biggest
14 autoload movies_forgotten
15 autoload movies_newest
16 autoload movies_oldest
17 autoload movies_smallest
18 autoload mpvshuffledir
19 autoload pause_stardew
22 autoload -Uz edit-command-line
26 # source ~/.zsh_taskwarrior
28 # source ~/.zsh_functions
29 # source ~/.zsh_functions_media
30 # source ~/.zsh_functions_taskwarrior
39 #zle -N zle-keymap-select
40 zle -N edit-command-line
42 export HISTFILE=~/.zsh_history
43 export HISTSIZE=1000000000
44 export SAVEHIST=1000000000
48 #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'
50 hash -d diary=~/Data/henksfiles/workinprogress/Dokumente/diary
51 hash -d lifedocs=~/Data/henksfiles/workinprogress/Dokumente/Leben
52 hash -d bewerbung=~/Data/henksfiles/workinprogress/Dokumente/bewerbung
53 hash -d rezepte=~/Data/henksfiles/workinprogress/Dokumente/rezepte/cuisine
54 hash -d templates=~/Data/henksfiles/workinprogress/templates
55 hash -d gitignore=~/Data/public/software/gitignore
56 hash -d doc=/usr/share/doc
57 hash -d TODO=~/Data/henksfiles/TODO/
58 hash -d fortunes=~/Data/henksfiles/workinprogress/Dokumente/fortunes/
60 ## define word characters (for stuff like backward-word, forward-word, backward-kill-word,..)
61 ## these are NOT separators but chars considered part of a word
62 #WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>' # the default
72 setopt NUMERIC_GLOB_SORT
73 setopt RC_EXPAND_PARAM
74 #setopt WARN_CREATE_GLOBAL
77 # remove previous entries from history
78 setopt HIST_IGNORE_ALL_DUPS
79 # do not write lines starting with a space to history file
80 setopt HIST_IGNORE_SPACE
81 # Remove superfluous blanks
82 setopt HIST_REDUCE_BLANKS
83 # expand history expansion for verification
85 # save timestamp and runtime as well
86 setopt EXTENDED_HISTORY
87 # write line to history file when finished, not when started, to have correct runtime
88 setopt INC_APPEND_HISTORY_TIME
94 setopt PRINT_EXIT_VALUE
98 #setopt LONG_LIST_JOBS
101 export tzvt_set_tmux_window_status=true
103 export PATH=${PATH}:/usr/local/sbin:/sbin:/usr/sbin
105 bindkey -M vicmd '^X^E' edit-command-line
106 bindkey -M viins '^X^E' edit-command-line