-
-
Save petrosp/bf4f048f10ce3822fe7ac6ee3772a2d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| ### Added by Zinit's installer | |
| if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then | |
| print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%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 | |
| ### End of Zinit's installer chunk | |
| # Globals | |
| export EDITOR='nvim' | |
| export PAGER='bat' | |
| export DOCKER_BUILDKIT=1 | |
| export COMPOSE_DOCKER_CLI_BUILD=1 | |
| # Aliases | |
| alias vim=$(which nvim) | |
| alias ..="cd .." | |
| alias ...="cd ..." | |
| # Ohmyzsh variables | |
| ZSH_TMUX_FIXTERM=true | |
| ZSH_TMUX_AUTOSTART=true | |
| ZSH_TMUX_AUTOCONNECT=true | |
| # Two regular plugins loaded without investigating. | |
| # zinit light zsh-users/zsh-autosuggestions | |
| # zinit light zdharma/fast-syntax-highlighting | |
| zinit for \ | |
| zsh-users/zsh-completions \ | |
| light-mode zdharma/fast-syntax-highlighting \ | |
| light-mode zsh-users/zsh-autosuggestions \ | |
| light-mode zsh-users/zsh-history-substring-search | |
| zinit ice from"gh-r" as"program" atload'eval "$(starship init zsh)"' | |
| zinit load starship/starship | |
| setopt promptsubst | |
| zinit wait lucid for \ | |
| OMZL::git.zsh \ | |
| OMZL::clipboard.zsh \ | |
| OMZL::directories.zsh \ | |
| OMZL::grep.zsh \ | |
| OMZL::history.zsh \ | |
| OMZL::spectrum.zsh \ | |
| OMZL::termsupport.zsh \ | |
| OMZP::git \ | |
| OMZP::tmux \ | |
| OMZP::fzf \ | |
| OMZP::docker-compose \ | |
| as"completion" \ | |
| OMZP::docker/_docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment