dev.fron.io rc / master
home(leaf): add more zsh conf Tony Olagbaiye 10 minutes ago
1 changed file(s) with 27 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
170170 (zshenv
171171 (list
172172 "source $HOME/.profile"
173 "export HISTFILE=$HOME/.zhistory"))
173 "HISTFILE=$HOME/.zhistory"
174 "HISTSIZE=1048576"
175 "SAVEHIST=65536"
176 "export VISUAL=nvim"
177 "export EDITOR=nvim"
178 "export NIX_PATH=nixpkgs=/nix/var/nix/profiles/system/flake/input/master"
179 "export GUIX=$HOME/.config/guix/current/share/guile/site/3.0"))
174180 (zprofile (list))
175181 (zshrc
176182 (list
177 #~(string-append "source " #$zsh-antigen "/share/zsh/antigen.zsh")
178 "antigen use oh-my-zsh" ; Bundles from the default repo (robbyrussell's oh-my-zsh).
179 "antigen bundle heroku"
180 "antigen bundle pip"
181 "antigen bundle lein"
182 "antigen bundle command-not-found"
183 "antigen apply"
184
185183 #~(string-append "source " #$zsh-zplugin "/zplugin.zsh")
186184 "autoload -Uz _zplugin"
187185 "(( ${+_comps} )) && _comps[zplugin]=_zplugin"
186 "setopt promptsubst"
187 "setopt extended_history" ; record timestamp of command in HISTFILE
188 "setopt hist_expire_dups_first" ; delete duplicates first when HISTFILE size exceeds HISTSIZE
189 "setopt hist_ignore_dups" ; ignore duplicated commands history list
190 "setopt hist_ignore_space" ; ignore commands that start with space
191 "setopt hist_verify" ; show command with history expansion to user before running it
192 "setopt share_history" ; share command history data
188193
189194 "zplugin light zsh-users/zsh-autosuggestions"
190195 "zplugin ice compile\"*.lzui\" from\"notabug\"; zplugin load zdharma/zui"
191 "zplugin load zsh-users/zsh-history-substring-search"
192196 "zplugin load zdharma/history-search-multi-word"
193197 ;"zplugin ice as\"program\" make'!' atclone'./direnv hook zsh > zhook.zsh' atpull'%atclone' src\"zhook.zsh\"; zplugin light direnv/direnv"
194198 "zplugin snippet OMZ::plugins/direnv/direnv.plugin.zsh"
195199 "zplugin snippet OMZ::lib/git.zsh"
196200 "zplugin ice wait\"0\" atload\"unalias grv\"; zplugin snippet OMZ::plugins/git/git.plugin.zsh"
197201 "zplugin snippet OMZ::plugins/taskwarrior/taskwarrior.plugin.zsh"
198 "zplugin load olets/zsh-abbr"
202 "zplugin load momo-lab/zsh-abbrev-alias"
199203 "zplugin light ptavares/zsh-z"
200204 ;"zplugin load fabiogibson/envrc-zsh-plugin"
201205 "zplugin snippet OMZ::themes/terminalparty.zsh-theme" ; nicoulaj
205209 "zplugin load zsh-users/zsh-completions"
206210 "autoload -U compinit && compinit"
207211 "zplugin ice wait\"0\" atinit\"zpcompinit; zpcdreplay\" lucid; zplugin load zsh-users/zsh-syntax-highlighting"
212 "zplugin ice wait\"0\" lucid; zplugin load zsh-users/zsh-history-substring-search"
213
214 "zle -N history-substring-search-up"
215 "zle -N history-substring-search-down"
216 "bindkey \"$terminfo[kcuu1]\" history-substring-search-up"
217 "bindkey \"$terminfo[kcud1]\" history-substring-search-down"
218 "zplugin snippet OMZ::lib/key-bindings.zsh"
219
220 "alias vim=nvim"
221 "abbrev-alias rg=\"rg -p\""
222 "abbrev-alias less=\"less -RF\""
223 "abbrev-alias jq=\"jq -C\""
208224 ))
209225 (zlogin (list))
210226 (zlogout (list))))