]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blob - .zshrc
a5157d9e3b2da985e415294da71132f0c81f87bd
[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
24 source ~/.zsh_taskwarrior
25
26 # source ~/.zsh_functions
27 # source ~/.zsh_functions_media
28 #source ~/.zsh_functions_taskwarrior
29
30 source ~/.zsh_aliases
31 source ~/.zsh_local
32 source ~/.zsh_qemu
33
34 source ~/.env_*
35
36 #zle -N zle-line-init
37 #zle -N zle-keymap-select
38 zle -N edit-command-line
39
40 export HISTFILE=~/.zsh_history
41 export HISTSIZE=1000000000
42 export SAVEHIST=1000000000
43
44 REPORTTIME=10
45
46 #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'
47
48 hash -d diary=~/Data/henksfiles/workinprogress/Dokumente/diary
49 hash -d lifedocs=~/Data/henksfiles/workinprogress/Dokumente/Leben
50 hash -d bewerbung=~/Data/henksfiles/workinprogress/Dokumente/bewerbung
51 hash -d rezepte=~/Data/henksfiles/workinprogress/Dokumente/rezepte/cuisine
52 hash -d templates=~/Data/henksfiles/workinprogress/templates
53 hash -d gitignore=~/Data/public/software/gitignore
54 hash -d doc=/usr/share/doc
55 hash -d TODO=~/Data/henksfiles/TODO/
56 hash -d fortunes=~/Data/henksfiles/workinprogress/Dokumente/fortunes/
57
58 ## define word characters (for stuff like backward-word, forward-word, backward-kill-word,..)
59 ## these are NOT separators but chars considered part of a word
60 #WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>' # the default
61
62 setopt AUTO_CD
63 setopt CHASE_LINKS
64
65 setopt AUTO_NAME_DIRS
66
67 setopt BRACE_CCL
68 #setopt EXTENDED_GLOB
69 setopt MARK_DIRS
70 setopt NUMERIC_GLOB_SORT
71 setopt RC_EXPAND_PARAM
72 #setopt WARN_CREATE_GLOBAL
73 setopt GLOB_DOTS
74
75 # remove previous entries from history
76 setopt HIST_IGNORE_ALL_DUPS
77 # do not write lines starting with a space to history file
78 setopt HIST_IGNORE_SPACE
79 # Remove superfluous blanks
80 setopt HIST_REDUCE_BLANKS
81 # expand history expansion for verification
82 setopt HIST_VERIFY
83 # save timestamp and runtime as well
84 setopt EXTENDED_HISTORY
85 # write line to history file when finished, not when started, to have correct runtime
86 setopt INC_APPEND_HISTORY_TIME
87
88 setopt NO_CLOBBER
89 setopt CORRECT
90 setopt CORRECT_ALL
91 #unsetopt NOMATCH
92 setopt PRINT_EXIT_VALUE
93
94 setopt AUTO_CONTINUE
95 setopt NO_BG_NICE
96 #setopt LONG_LIST_JOBS
97
98 export YSU_MODE=ALL
99 export tzvt_set_tmux_window_status=true
100
101 export PATH=${PATH}:/usr/local/sbin:/sbin:/usr/sbin
102
103 bindkey -M vicmd '^X^E' edit-command-line
104 bindkey -M viins '^X^E' edit-command-line
105
106
107 #task awaiting
108
109 source ~/.zsh_comprc
110
111 cat ~/.motd
112 # zprof