]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blob - .zprofile
customize fzf: use tmux and fdfind
[user/henk/vcsh/zsh.git] / .zprofile
1 # I want my own bins to take precedence
2 PATH="$HOME/bin:$HOME/usr/bin:$HOME/usr/local/bin:$HOME/.local/bin:$PATH"
3 # I want sbin executables available
4 PATH=${PATH}:/usr/local/sbin:/sbin:/usr/sbin
5 # remove duplicates because tmux starts login shells
6 typeset -U path
7 export PATH
8
9
10 export DEBEMAIL=deb@henk.geekmail.org
11 #export BROWSER=iceweasel
12 export EDITOR=vim
13 export PAGER=less
14
15
16 # language should generally be english
17 export LANG="en_US.UTF-8"
18 export LC_MESSAGES="en_US.UTF-8"
19
20 # everything else the local format
21 export LC_CTYPE="de_CH.UTF-8"
22 export LC_NUMERIC="de_CH.UTF-8"
23 export LC_TIME="de_CH.UTF-8"
24 export LC_COLLATE="de_CH.UTF-8"
25 export LC_MONETARY="de_CH.UTF-8"
26 export LC_PAPER="de_CH.UTF-8"
27 export LC_NAME="de_CH.UTF-8"
28 export LC_ADDRESS="de_CH.UTF-8"
29 export LC_TELEPHONE="de_CH.UTF-8"
30 export LC_MEASUREMENT="de_CH.UTF-8"
31 export LC_IDENTIFICATION="de_CH.UTF-8"
32
33 export XDG_RUNTIME_DIR="${HOME}/.local/xdg_runtime_dir"
34
35 # do not use cowsay
36 export ANSIBLE_NOCOWS=1
37 # better strategy for multiple hosts
38 export ANSIBLE_STRATEGY=mitogen_linear
39
40
41 # read settings from user directory
42 export TEXMFCNF=${HOME}/.texlive:
43
44
45 export FZF_DEFAULT_COMMAND='fdfind --type f'
46
47
48 # zsh you-should-use
49 YSU_MODE=ALL
50
51
52 # colors for newt/whiptail (for debconf, needrestart, etc.)
53 # works better with selenized colorscheme
54 # everything that seems irrelevant is set to brown
55 NEWT_COLORS=''
56 # foreground seems irrelevant
57 NEWT_COLORS="${NEWT_COLORS};root=brown,blue"
58 # text in the root window
59 NEWT_COLORS="${NEWT_COLORS};roottext=yellow,blue"
60
61 # box/window/button shadows
62 NEWT_COLORS="${NEWT_COLORS};shadow=brown,black"
63
64 # boxes/windows themselves
65 NEWT_COLORS="${NEWT_COLORS};window=brown,lightgray"
66 # box/window titles
67 NEWT_COLORS="${NEWT_COLORS};title=yellow,lightgray"
68 # box/window borders
69 NEWT_COLORS="${NEWT_COLORS};border=gray,lightgray"
70
71 # full buttons
72 NEWT_COLORS="${NEWT_COLORS};button=black,red"
73 # compact buttons
74 NEWT_COLORS="${NEWT_COLORS};compactbutton=black,lightgray"
75 # selected/active button
76 NEWT_COLORS="${NEWT_COLORS};actbutton=green,gray"
77
78 # checkbox itself and text
79 NEWT_COLORS="${NEWT_COLORS};checkbox=black,blue"
80 # selection marker for checkbox
81 NEWT_COLORS="${NEWT_COLORS};actcheckbox=yellow,gray"
82
83 # text input field fore- and background
84 NEWT_COLORS="${NEWT_COLORS};entry=yellow,blue"
85 # TODO FIXME: no clue what that is
86 NEWT_COLORS="${NEWT_COLORS};disentry=brown,yellow"
87
88 # TODO FIXME: no clue what that is
89 NEWT_COLORS="${NEWT_COLORS};label=yellow,red"
90
91 # unselected entries in menus
92 NEWT_COLORS="${NEWT_COLORS};listbox=lightgray,gray"
93 # selected entries in menus
94 NEWT_COLORS="${NEWT_COLORS};actsellistbox=yellow,blue"
95 # TODO FIXME: no clue what that is
96 NEWT_COLORS="${NEWT_COLORS};actlistbox=brown,red"
97 # TODO FIXME: no clue what that is
98 NEWT_COLORS="${NEWT_COLORS};sellistbox=black,brown"
99
100 NEWT_COLORS="${NEWT_COLORS};textbox=black,lightgray"
101 NEWT_COLORS="${NEWT_COLORS};acttextbox=brown,green"
102
103 # TODO FIXME: no clue what that is
104 NEWT_COLORS="${NEWT_COLORS};helpline=yellow,brown"
105
106 # probably for gauges
107 NEWT_COLORS="${NEWT_COLORS};emptyscale=red"
108 NEWT_COLORS="${NEWT_COLORS};fullscale=blue"
109
110 export NEWT_COLORS
111
112 # black
113 # darkgray
114 # brown
115 # yellow
116 #
117 # blue
118 # cyan
119 # gray
120 # green
121 # magenta
122 # red
123 #
124 # lightblue
125 # lightcyan
126 # lightgray
127 # lightgreen
128 # lightmagenta
129 # lightred
130
131
132 # 'less' colors for man pages
133 # Colors
134 default=$(tput sgr0)
135 red=$(tput setaf 1)
136 green=$(tput setaf 2)
137 purple=$(tput setaf 5)
138 orange=$(tput setaf 9)
139
140 # Begin blinking
141 export LESS_TERMCAP_mb=$red
142 # Begin bold
143 export LESS_TERMCAP_md=$orange
144 # End mode
145 export LESS_TERMCAP_me=$default
146 # End standout-mode
147 export LESS_TERMCAP_se=$default
148 # Begin standout-mode - info box
149 export LESS_TERMCAP_so=$purple
150 # End underline
151 export LESS_TERMCAP_ue=$default
152 # Begin underline
153 export LESS_TERMCAP_us=$green
154