# Navigating the terminal with zsh, tmux & vifm

Terminal view with tmux, forgit & vifm

Using zsh plugins with Zinit plugin manager along with a customised tmux config & vifm makes for a super fast, comfortable experience on the shell.

# zsh

# Builtin commands

C-x m output newest file/folder

# Personalised commands through .zshrc and enabled plugins

C-r search through recent history using fzf

cd brings up a list of previously visited directories

cd <Tab> brings up a dialog of directories in the current working directory

# tmux

<Meta>+J or alt+J is the prefix

# vifm

vifm's vim-like commands and preview feature makes it a very powerful file manager on the commandline.


TIP

View the .zshrc config file below or the up-to-date repo on GitLab

.zshrc
#!/usr/bin/env zsh

if [ ! -S ~/.ssh/ssh_auth_sock ]; then
  eval `ssh-agent` &>/dev/null
  ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
#ssh-add -l > /dev/null || ssh-add
ssh-add -q $HOME/.ssh/GitLab > /dev/null || ssh-add
ssh-add -q $HOME/.ssh/GitHub > /dev/null || ssh-add


# ==============================================================================
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zsh/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block, everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
  source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi

# ==============================================================================

declare -A ZINIT
### Added by Zinit's installer
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then
    print -P "%F{33}▓▒░ %F{220}Installing DHARMA Initiative Plugin Manager (zdharma/zinit)…%f"
    command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit"
    command git clone https://github.com/zdharma/zinit "$HOME/.zinit/bin" && \
        print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \
        print -P "%F{160}▓▒░ The clone has failed.%f%b"
fi
source "$HOME/.zinit/bin/zinit.zsh"

autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit

# Load a few important annexes, without Turbo
# (this is currently required for annexes)
zinit light-mode for \
    zinit-zsh/z-a-patch-dl \
    zinit-zsh/z-a-as-monitor \
    zinit-zsh/z-a-bin-gem-node
### End of Zinit's installer chunk
# ==============================================================================

fpath=(
  $ZDOTDIR/functions
  $ZDOTDIR/completions
  $HOME/.local/bin
  "${fpath[@]}"
)

# ==============================================================================
HISTFILE=${ZDOTDIR}/zsh_history
HISTSIZE=100000
SAVEHIST=100000
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1                # all search results returned will be unique
setopt incappendhistory                                 # add commmand to history as soon as it's entered
setopt extendedhistory                                  # save command timestamp
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_SAVE_NO_DUPS                                # don't write duplicate entries in the history file
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_FIND_NO_DUPS
setopt HIST_IGNORE_SPACE                                # prefix commands you don't want stored with a space
HISTORY_IGNORE="(exit|ls|r|open|pwd|q|x *|kill *|s *)"

setopt NO_HUP                                           # don't kill jobs
setopt NO_CHECK_JOBS
setopt correct                                          # spelling correction for commands
setopt autocd
unsetopt rm_star_silent                                 # ask for confirmation for `rm *' or `rm path/*'
setopt interactivecomments
setopt extended_glob

typeset -gA FAST_HIGHLIGHT_STYLES
FAST_HIGHLIGHT_STYLES[alias]="fg=012"
FAST_HIGHLIGHT_STYLES[path]="fg=blue"
FAST_HIGHLIGHT_STYLES[path-to-dir]="fg=blue,underline"
FAST_HIGHLIGHT_STYLES[suffix-alias]="fg=012"
FAST_HIGHLIGHT_STYLES[builtin]="fg=012"
FAST_HIGHLIGHT_STYLES[function]="fg=012"
FAST_HIGHLIGHT_STYLES[precommand]="fg=red,bg=default,underline,bold"
FAST_HIGHLIGHT_STYLES[command]="fg=012"
FAST_HIGHLIGHT_STYLES[commandseparator]="fg=012"
FAST_HIGHLIGHT_STYLES[comment]="fg=011,bold,italic"
FAST_HIGHLIGHT_STYLES[single-quoted-argument]="fg=011"
FAST_HIGHLIGHT_STYLES[double-quoted-argument]="fg=011"
FAST_HIGHLIGHT_STYLES[dollar-quoted-argument]="fg=011"
FAST_HIGHLIGHT_STYLES[single-hyphen-option]="fg=yellow"
FAST_HIGHLIGHT_STYLES[double-hyphen-option]="fg=215"
#export DEFAULT_LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
# ==============================================================================

unalias run-help
unalias zplg

# ==============================================================================
# ===  PLUGINS  ===
# {{{

zi ice wait lucid \
  atload"HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=blue,fg=232,bold""
zi light "zsh-users/zsh-history-substring-search"

zi ice wait lucid blockf
zi light "zsh-users/zsh-completions"
#zi snippet "OMZ::lib/completion.zsh"

zi ice wait lucid atinit"_zcomp"
zi light "zdharma/fast-syntax-highlighting"
zi ice wait lucid compile'{src/*.zsh,src/strategies/*}' atload"!_zsh_autosuggest_start"
zi light "zsh-users/zsh-autosuggestions"
# zi light "zsh-users/zsh-syntax-highlighting"

zi ice lucid wait'[[ -n ${ZLAST_COMMANDS[(r)g*]} ]]'
zi snippet "OMZ::plugins/git/git.plugin.zsh"
zi ice lucid wait'[[ -n ${ZLAST_COMMANDS[(r)g*]} ]]'
zi snippet "OMZ::plugins/git-extras/git-extras.plugin.zsh"
zi ice lucid wait'[[ -n ${ZLAST_COMMANDS[(r)g*]} ]]'
zi light "wfxr/forgit"

zi ice wait lucid pick"init.sh"
zi light "b4b4r07/enhancd"
zi ice wait"2g" lucid
zi light "changyuheng/zsh-interactive-cd"

# zi ice lucid from"gh-r" as'program' bpick"" pick"def-matcher"
# zi light sei40kr/fast-alias-tips-bin
# zi ice wait"2h" lucid
# zi light sei40kr/zsh-fast-alias-tips

#zi ice wait lucid
#zi light "xPMo/zsh-toggle-command-prefix"

#zi light "willghatch/zsh-cdr"
#zi light "zsh-users/zaw"

zi ice wait"2" lucid nocompletions
zi light "hlissner/zsh-autopair"

#zi ice wait"2" lucid
#zi snippet "OMZ::plugins/ssh-agent/ssh-agent.plugin.zsh"

zi ice lucid wait'[[ -n ${ZLAST_COMMANDS[(r)np*]} ]]'
zi snippet "OMZ::plugins/npm/npm.plugin.zsh"

zi ice wait lucid from"gh-r" as"program" \
  atload"_fzf_compgen_path() { fd --type f --hidden --follow --exclude ".git" . "$1" }; \
         _fzf_compgen_dir() { fd --type d --hidden --follow --exclude ".git" . "$1" }"
zi light junegunn/fzf-bin
if [[ $(type -p fzf) ]] then
  zi ice wait lucid multisrc"shell/{key-bindings,completion}.zsh" pick""
  zi light "junegunn/fzf"
fi

#zi ice wait lucid id-as"base16-fzf-tomorrow-night" #atclone'sed -e "26s/$/\\\/" -e "27i\" --ansi\"\\\ " -i base16-fzf-tomorrow-night' atpull"%atclone"
#zi snippet "https://raw.githubusercontent.com/nicodebo/base16-fzf/master/bash/base16-tomorrow-night.config"
#zi ice wait lucid id-as"base16-fzf-tomorrow" atclone"sleep 2; sed -i 's|1d1f21|17191a|;27i\  --ansi' base16-fzf-tomorrow" atpull"%atclone"
#zi snippet "https://raw.githubusercontent.com/nicodebo/base16-fzf/master/bash/base16-tomorrow.config"

zi ice wait"2" lucid
zi snippet "OMZ::plugins/extract/extract.plugin.zsh"
#zi ice wait"2" lucid
#zi snippet "OMZ::plugins/sudo/sudo.plugin.zsh"
#zi ice wait"2" lucid
#zi snippet "OMZ::plugins/fancy-ctrl-z/fancy-ctrl-z.plugin.zsh"
#zi ice wait"2" lucid
#zi snippet "OMZ::plugins/tmux/tmux.plugin.zsh"

#zi ice wait"3" lucid
#zi light "marzocchi/zsh-notify"

if [[ ! -d ~/.rbenv/plugins ]] then
  echo "Creating \$(rbenv root)/plugins"
  mkdir -p ~/.rbenv/plugins
  if [[ ! -d ~/.rbenv/plugins/ruby-build ]] then
     echo "Cloning \$(rbenv root)/plugins/ruby-build"
     git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
  fi
fi
zi ice svn lucid \
 wait'[[ -n ${ZLAST_COMMANDS[(r)rben*]} ]]' \
 atload"POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=true" \
 unload"![[ ! -e Gemfile || ! -e Rakefile ]]"
zi snippet "PZT::modules/ruby/"
#
#zi ice wait"3a" lucid wait"[[ -f Gemfile || -f Rakefile ]]" unload"[[ ! -f Gemfile ]]"
#zi snippet "OMZ::plugins/rbenv/rbenv.plugin.zsh"

#zi ice lucid wait \
#  as'command' pick'bin/pyenv' \
#  atload'eval "$(pyenv init - --no-rehash zsh)"; echo "TEST"' \
#  src'completions/pyenv.zsh' nocompile'!'
#zi light pyenv/pyenv
#export PYENV_ROOT="$HOME/.pyenv"

#zi ice lucid wait'[[ -n ${ZLAST_COMMANDS[(r)pyenv]} ]]' \
#  as'command' pick"bin/*" \
#  atload'eval "$(pyenv virtualenv-init - zsh)"'
#zi light pyenv/pyenv-virtualenv

zi ice svn atclone"sed -i '1,13d; 51d; s|\$ZSH/plugins|\$ZINIT[SNIPPETS_DIR]/OMZ::plugins|' emacs.plugin.zsh"
zi snippet "OMZ::plugins/emacs"

#zi ice wait lucid atload"[[ -r ~/.base16_theme ]] || base16_tomorrow-night"
#zi light "chriskempson/base16-shell"

zi ice lucid reset \
  atclone"dircolors -b LS_COLORS > c.zsh; sed -i 's/30/12/g; s/172/11/g; s/196/9/g' c.zsh;" \
  atpull'%atclone' pick"c.zsh" nocompile'!' \
  atload'zstyle ":completion:*:default" list-colors ${(s.:.)LS_COLORS}'
zi light trapd00r/LS_COLORS

#zi ice lucid from"gh-r" as"program" bpick"*linux*" mv"lsd* -> lsd" pick"lsd/lsd"
#zi light "Peltoche/lsd"

#zi ice from"gh-r" as"program" mv"direnv* -> direnv" \
#  atclone"./direnv hook zsh > zhook.zsh" atpull"%atclone" compile"zhook.zsh" src"zhook.zsh"
#zi light direnv/direnv


zi ice wait lucid mv"*cht.sh -> cht" pick"cht" as"program" id-as"cht.sh"
zi snippet "https://cht.sh/:cht.sh"
#zi ice wait"2" lucid id-as"tldr" as"program" pick"tldr"
#zi snippet "https://raw.githubusercontent.com/raylee/tldr/master/tldr"

zi ice lucid mv"ps_mem.py -> psmem" pick"psmem" as"program"
zi light "pixelb/ps_mem"

zi ice wait"3d" lucid as"program" pick"bin/git-dsf"
zi light "zdharma/zsh-diff-so-fancy"

#zi ice pick"fasd" as"program"
#zi snippet "https://raw.githubusercontent.com/clvv/fasd/master/fasd"
#zi snippet "OMZ::plugins/fasd/fasd.plugin.zsh"

zi ice lucid pick"pfetch" as"program"
zi light "dylanaraps/pfetch"

zi ice lucid from"gh-r" as"program" bpick"*linux*"
zi light "imsnif/bandwhich"

#zi ice lucid from"gh-r" as"program" bpick"*linux*" pick"bat-v0.13.0-x86_64-unknown-linux-gnu/bat"
#zi light "sharkdp/bat"

zi ice lucid from"gh-r" as"program" bpick"*linux*"
zi light "casey/intermodal"

zi ice lucid from"gh-r" as"program" bpick"*linux-x86_64*" mv"shell/exercism_completion.zsh -> completions/exercism_completion.zsh"
zi light "exercism/cli"

#zi ice wait"2" lucid as"program" pick"build/release/peaclock" atclone"./build.sh"
#zi light "octobanana/peaclock"

#zi ice wait"2" lucid as"program" pick"heroku"
#zi light "$HOME/.local/bin/heroku/bin"
#zi ice wait"2" lucid cloneonly
#zi snippet "OMZ::plugins/heroku/heroku.plugin.zsh"

#zi ice as"program" pick"bin/sml"
#zi snippet "/home/mustaqim/.local/bin/sml/bin/sml"

zi ice lucid from"gh-r" as"program"
zi light "pinterest/ktlint"

# }}}


# === THEME ===
# {{{
#PS1="%F{green}%B$❯%b%f "
zi ice depth'1' lucid atinit'[[ ! -f ~/.zsh/.p10k.zsh ]] || source ~/.zsh/.p10k.zsh' nocd \
  atload"!_p9k_do_nothing _p9k_precmd"
zi light romkatv/powerlevel10k
# }}}


# === FUNCTIONS ===
# {{{
if [ -n "$INSIDE_VIFM" ]; then
    RANGER_LEVEL=" "
    unset INSIDE_VIFM
fi

# Compile to decrease startup speed (only if $1 is older than 4 hours)
_zcompare() {
  # - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct.
  # - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error)
  # - '.' matches "regular files"
  # - 'mh+4' matches files (or directories or whatever) that are older than 4 hours.
  setopt extendedglob local_options
  if [[ -n "${1}"(#qN.mh+4) && (! -s "${1}.zwc" || "$1" -nt "${1}.zwc") ]]; then
    ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay
    zcompile ${1}
  fi
}
_zcomp() {
  zshrc="${ZDOTDIR}/.zshrc"
  zcompdump="${ZDOTDIR}/.zcompdump"
  p10k="${ZDOTDIR}/.p10k.zsh"

  _zcompare "$zshrc"
  _zcompare "$zcompdump"
  _zcompare "$p10k"
}

#case $TERM in (xst*)
#  preexec () { print -Pn "\e]0; $PWD - xst\a" }
#  precmd () { print -Pn "\e]0; %~\a" }
#;;
#esac

zshaddhistory() {
  whence ${${(z)1}[1]} >| /dev/null || return 1 }       # Don't add wrong commands to history

function exists() {
  (( ${+commands[$1]} ))
}

fb() {
    filebot -rename "$@" -non-strict --format "{e} - {t}"
}

man() {
 if [ -n "$TMUX" ]; then
   tmux split-window -h -p 40 /bin/man "$@"
 else
   /bin/man "$@"
 fi
}

function gitignore() { curl -sLw "\n" https://www.gitignore.io/api/"$@" ;}

# Copy and Paste for `st`
x-kill-region () {
  zle kill-region
  print -rn $CUTBUFFER | xclip -i -sel clipboard
}
zle -N x-kill-region
x-yank () {
  CUTBUFFER=$(xclip -sel clipboard -o </dev/null)
  zle yank
}
zle -N x-yank
bindkey -e '^X' x-kill-region
bindkey -e '^V' x-yank

fzf-open-file-or-dir() {
  local cmd="fd -j4 -d5 -tf -td -tl -c=always 2> /dev/null"
  local out=$(eval $cmd | fzf)

  if [ -f "$out" ]; then
    $EDITOR --no-wait "$out" < /dev/tty
  elif [ -d "$out" ]; then
    cd "$out"
    zle reset-prompt
  fi
}

# }}}


# === BINDINGS ===
# {{{
zle     -N        fzf-open-file-or-dir
bindkey '^P'      fzf-open-file-or-dir

bindkey '^[[A'    history-substring-search-up
bindkey '^[[B'    history-substring-search-down
bindkey '^[[1;5C' vi-forward-word
bindkey '^[[1;5D' vi-backward-word
bindkey '^F'      vi-forward-word
bindkey '^B'      emacs-backward-word
bindkey '^A'      beginning-of-line
bindkey '^E'      end-of-line
bindkey '^O'      push-line-or-edit
bindkey '^[[P'    delete-char
#bindkey '^[[1;3D'
#bindkey '^[[1;3C'

zle -N            autosuggest-accept
bindkey '^[f'     autosuggest-accept

autoload -U       edit-command-line
zle -N            edit-command-line
bindkey '^x^e'    edit-command-line

#fm(){lf}; zle -N fm
#bindkey '^[t' fm

# }}}

# Fish-like search completions functionality
zmodload zsh/complist
setopt menucomplete
zstyle ':completion:*'               menu select=0 search

zstyle ':completion:*'               matcher-list '' \
       'm:{a-z\-}={A-Z\_}' \
       'r:[^[:alpha:]]||[[:alpha:]]=** r:|=* m:{a-z\-}={A-Z\_}' \
       'r:|?=** m:{a-z\-}={A-Z\_}'

zstyle ':completion:*'               completer _complete _match _approximate
zstyle ':completion:*:match:*'       original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric

zstyle ':completion:*'               group-name ''              # Keep directories and files separated
#zstyle ':completion:*'               list-dirs-first true
zstyle ':completion:*'               auto-description
zstyle ':completion:*'               file-patterns '%p:globbed-files' '*(-/):directories' '*:all-files'

zstyle ':completion:*:manuals'       separate-sections true
zstyle ':completion:*:manuals.*'     insert-sections   true
zstyle ':completion:*:man:*'         menu yes select

zstyle ':completion:*:corrections'   format ' %B%F{green} %d (errors: %e)  %f%b'
zstyle ':completion:*:descriptions'  format ' %F{yellow} %U%d%u  %f'
zstyle ':completion:*:messages'      format ' %B%F{magenta}  %U%d%u  %f%b'
zstyle ':completion:*:warnings'      format ' %B%F{red} %Uno matches found%u %f%b'
#zstyle ':completion:*:default'       list-colors ${(s.:.)LS_COLORS}

zstyle ':completion:*:parameters'    ignored-patterns '_*'

zstyle ':completion::complete:*'     use-cache on
zstyle ':completion:*'               cache-path ~/.zsh/cache

#zstyle ':notify:*'                   notifier /bin/notify-send # Only needed for custom scripts
zstyle ':notify:*'                   error-title "Command failed in #{time_elapsed}s"
zstyle ':notify:*'                   success-title "Command finished in #{time_elapsed}s"
zstyle ':notify:*'                   error-icon "/usr/share/emoticons/EmojiOne/1f3f3.png"
zstyle ':notify:*'                   success-icon "/usr/share/emoticons/EmojiOne/1f389.png"
zstyle ':notify:*'                   command-complete-timeout 15
zstyle ':notify:*'                   activate-terminal no

autoload -U select-word-style
select-word-style bash

source $ZDOTDIR/aliases
autoload -Uz cdl open fzf_log yadm_log_diff mkcd fz fh fkill fco gfy pb scan center_text switch_theme plain ert-run sqlint magit clip
#autoload -Uz cargo cargo-clippy cargo-fmt cargo-miri clippy-driver rls rust-gdb rust-lldb rustc rustdoc rustfmt rustup

# generic completions for programs which understand GNU long options(--help)
zicompdef _gnu_generic aomenc aria2c bat cargo curl cwebp direnv docker \
  docker-machine emacs fd firejail flask fzf gocryptfs inkscape kitty ktlint light \
  lsd mimeo nzbget pip pip3 pipx psmem redshift rofi rustc sk tar tlp-stat vue wmctrl z

#for comp ( yadm vifm ) { zicompdef _$comp $comp; }

zicompinit
zinit cdreplay -q

#source ~/.base16_theme

# To customize prompt, run `p10k configure` or edit ~/.zsh/.p10k.zsh.
[[ ! -f ~/.zsh/.p10k.zsh ]] || source ~/.zsh/.p10k.zsh

# ALIAS_FILE="${HOME}/.zsh_aliases"

# reload_aliases () {
#     # do nothing if there is no $ALIAS_FILE
#     [[ -e ALIAS_FILE ]] || return 1
#     # check if $ALIAS_FILE has been modified since last reload
#     # the modifier `(:A)` resolves any symbolic links
#     if [[ $LAST_ALIAS_RELOAD < $(stat -c %Y ${ALIAS_FILE}(:A)) ]]; then
#         # remove all aliases; optional!
#         # only do this if all of your aliases are defined in $ALIAS_FILE
#         # also affects aliases defined on the command line
#         unalias -m '*'
#         # load aliases
#         source $ALIAS_FILE
#         # update date of last reload
#         LAST_ALIAS_RELOAD=$(date +%s)
#     fi
# }

# # make reload_aliases to be run before each prompt
# autoload -Uz add-zsh-hook
# add-zsh-hook precmd reload_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478