Skip to content

Commit 2b19fce

Browse files
committed
zsh: cleanup of symlinks
1 parent cdf7fea commit 2b19fce

File tree

13 files changed

+211
-219
lines changed

13 files changed

+211
-219
lines changed

.vimrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.zsh/.zlogin

Lines changed: 0 additions & 1 deletion
This file was deleted.

.zsh/.zlogin

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Compile the completion dump to increase startup speed.
2+
{ zcompdump="$ZDOTDIR/.zcompdump"
3+
if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
4+
zcompile "$zcompdump"
5+
fi
6+
} &!
7+
8+
# Launch X at tty1 login
9+
if ! [[ "$DISPLAY" ]] && [[ "${TTY##*tty}" == "1" ]]; then
10+
printf "\n"
11+
12+
# Show information about disk usage
13+
dfc -t btrfs 2>/dev/null -n -w -W -c always | cut -c29-
14+
15+
printf "\n"
16+
17+
# Check for package updates
18+
[[ -x $HOME/bin/checkforupdates ]] && $HOME/bin/checkforupdates
19+
20+
printf "\n"
21+
22+
if [[ -x $HOME/bin/logger ]]; then
23+
printf "%s" "$($HOME/bin/logger info "Press enter to launch WM (Ctrl-C to skip to terminal)...")"
24+
else
25+
printf "%s" "Press enter to launch WM (Ctrl-C to skip to terminal)..."
26+
fi
27+
28+
[[ "$X11_INIT" ]] && {
29+
read -k 1 && printf "\n" && launch_wm='true'
30+
}
31+
fi
32+
33+
${launch_wm:-false} && $X11_INIT

.zsh/.zlogout

Lines changed: 0 additions & 1 deletion
This file was deleted.

.zsh/.zlogout

Whitespace-only changes.

.zsh/.zprezto

Lines changed: 0 additions & 1 deletion
This file was deleted.

.zsh/.zpreztorc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.zsh/.zpreztorc

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
#
2+
# Prezto options.
3+
#
4+
5+
# General {{{
6+
7+
# Color output (auto set to 'no' on dumb terminals).
8+
zstyle ':prezto:*:*' color 'yes'
9+
10+
# }}}
11+
# Modules {{{
12+
13+
# Set the Zsh modules to load (man zshmodules).
14+
# zstyle ':prezto:load' zmodule 'attr' 'stat'
15+
16+
# Set the Zsh functions to load (man zshcontrib).
17+
# zstyle ':prezto:load' zfunction 'zargs' 'zmv'
18+
19+
# Set the Prezto modules to load (browse modules).
20+
# The order matters.
21+
zstyle ':prezto:load' pmodule \
22+
'helper' \
23+
'environment' \
24+
'editor' \
25+
'history' \
26+
'directory' \
27+
'spectrum' \
28+
'utility' \
29+
'archive' \
30+
'history' \
31+
'git' \
32+
'syntax-highlighting' \
33+
'completion' \
34+
'fasd' \
35+
'tmux' \
36+
'prompt'
37+
38+
# }}}
39+
# Editor {{{
40+
41+
# Set the key mapping style to 'emacs' or 'vi'.
42+
zstyle ':prezto:module:editor' key-bindings 'vi'
43+
44+
# Auto convert .... to ../..
45+
zstyle ':prezto:module:editor' dot-expansion 'yes'
46+
47+
# }}}
48+
# Git {{{
49+
50+
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
51+
# zstyle ':prezto:module:git:status:ignore' submodules 'all'
52+
53+
# }}}
54+
# GNU Utility {{{
55+
56+
# Set the command prefix on non-GNU systems.
57+
# zstyle ':prezto:module:gnu-utility' prefix 'g'
58+
59+
# }}}
60+
# History Substring Search {{{
61+
62+
# Set the query found color.
63+
# zstyle ':prezto:module:history-substring-search:color' found ''
64+
65+
# Set the query not found color.
66+
# zstyle ':prezto:module:history-substring-search:color' not-found ''
67+
68+
# Set the search globbing flags.
69+
# zstyle ':prezto:module:history-substring-search' globbing-flags ''
70+
71+
# }}}
72+
# Pacman {{{
73+
74+
# Set the Pacman frontend.
75+
# zstyle ':prezto:module:pacman' frontend 'cower'
76+
77+
# }}}
78+
# Prompt {{{
79+
80+
# Set the prompt theme to load.
81+
# Setting it to 'random' loads a random theme.
82+
# Auto set to 'off' on dumb terminals.
83+
zstyle ':prezto:module:prompt' theme 'jaagr'
84+
85+
# }}}
86+
# SSH {{{
87+
88+
# Set the SSH identities to load into the agent.
89+
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
90+
91+
# }}}
92+
# Syntax Highlighting {{{
93+
94+
# Set syntax highlighters.
95+
# By default, only the main highlighter is enabled.
96+
zstyle ':prezto:module:syntax-highlighting' highlighters \
97+
'main' \
98+
'brackets' \
99+
'pattern' \
100+
'cursor' \
101+
'root'
102+
103+
# Set syntax highlighting styles.
104+
# zstyle ':prezto:module:syntax-highlighting' styles \
105+
# 'builtin' 'bg=blue' \
106+
# 'command' 'bg=blue' \
107+
# 'function' 'bg=blue'
108+
109+
# }}}
110+
# Terminal {{{
111+
112+
# Auto set the tab and window titles.
113+
# zstyle ':prezto:module:terminal' auto-title 'yes'
114+
115+
# Set the window title format.
116+
# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
117+
118+
# Set the tab title format.
119+
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
120+
121+
# }}}
122+
# Tmux {{{
123+
124+
# Auto start a session when Zsh is launched in a local terminal.
125+
#zstyle ':prezto:module:tmux:auto-start' local 'yes'
126+
127+
# Auto start a session when Zsh is launched in a SSH connection.
128+
zstyle ':prezto:module:tmux:auto-start' remote 'yes'
129+
130+
# }}}
131+
# Fasd {{{
132+
133+
alias a='fasd -a' # any
134+
alias s='fasd -si' # show / search / select
135+
alias f='fasd -f' # file
136+
alias sd='fasd -sid' # interactive directory selection
137+
alias sf='fasd -sif' # interactive file selection
138+
function z {
139+
# bypass vim to avoid matching vimperator
140+
[[ "$1" == "vim" ]] && {
141+
cd "$LOCAL_ETC/vim"
142+
return
143+
}
144+
fasd_cd -d "$@"
145+
}
146+
alias zz='fasd_cd -d -i' # cd with interactive selection
147+
alias v='fasd -f -e vim'
148+
alias vv='fasd -f -i -e vim'
149+
150+
# }}}
151+
152+
# vim:ft=zsh fdm=marker

.zsh/.zshenv

Lines changed: 0 additions & 1 deletion
This file was deleted.

.zsh/.zshrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)