]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blob - .zshrc
update zshrc
[user/henk/vcsh/zsh.git] / .zshrc
1 # zmodload zsh/zprof
2
3 source ~/.zsh_zinit
4
5 # source /usr/share/autojump/autojump.sh
6
7 fpath=(~/.zsh_functions $fpath)
8
9 autoload henkspngpostproc
10 autoload henkspwgen
11 autoload new_hs_project
12 autoload vifind
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
20
21 autoload -Uz vcs_info
22 autoload -Uz edit-command-line
23 autoload -Uz zcalc
24 autoload -Uz zargs
25
26 # source ~/.zsh_taskwarrior
27
28 # source ~/.zsh_functions
29 # source ~/.zsh_functions_media
30 # source ~/.zsh_functions_taskwarrior
31
32 source ~/.zsh_aliases
33 source ~/.zsh_local
34 source ~/.zsh_qemu
35
36 source ~/.env_*
37
38 #zle -N zle-line-init
39 #zle -N zle-keymap-select
40 zle -N edit-command-line
41
42 export HISTFILE=~/.zsh_history
43 export HISTSIZE=1000000000
44 export SAVEHIST=1000000000
45
46 REPORTTIME=10
47
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'
49
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/
59
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
63
64 setopt AUTO_CD
65 setopt CHASE_LINKS
66
67 setopt AUTO_NAME_DIRS
68
69 setopt BRACE_CCL
70 #setopt EXTENDED_GLOB
71 setopt MARK_DIRS
72 setopt NUMERIC_GLOB_SORT
73 setopt RC_EXPAND_PARAM
74 #setopt WARN_CREATE_GLOBAL
75 setopt GLOB_DOTS
76
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
84 setopt HIST_VERIFY
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
89
90 setopt NO_CLOBBER
91 setopt CORRECT
92 setopt CORRECT_ALL
93 #unsetopt NOMATCH
94 setopt PRINT_EXIT_VALUE
95
96 setopt AUTO_CONTINUE
97 setopt NO_BG_NICE
98 #setopt LONG_LIST_JOBS
99
100 export YSU_MODE=ALL
101 export tzvt_set_tmux_window_status=true
102
103 export PATH=${PATH}:/usr/local/sbin:/sbin:/usr/sbin
104
105 bindkey -M vicmd '^X^E' edit-command-line
106 bindkey -M viins '^X^E' edit-command-line
107
108
109 #task awaiting
110
111 source ~/.zsh_comprc
112
113 cat ~/.motd
114 # zprof