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