ZSH Customizer: Prezto (https://github.com/sorin-ionescu/prezto) iTerm2 Color Presets: Night Owl iTerm2 Font: Hack Nerd Regular 14 (ligatures enabled) iTerm2 Non-ASCII Font: Hack Nerd Regular 14 (ligatures enabled)
Created
August 4, 2019 10:58
-
-
Save medelman17/604d24695c93101456de1f369a29fbbd to your computer and use it in GitHub Desktop.
Edelman iTerm2 Config
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
# Set case-sensitivity for completion, history lookup, etc. | |
zstyle ':prezto:*:*' case-sensitive 'yes' | |
# Color output (auto set to 'no' on dumb terminals). | |
zstyle ':prezto:*:*' color 'yes' | |
# Set the Prezto modules to load (browse modules). | |
# The order matters. | |
zstyle ':prezto:load' pmodule \ | |
'environment' \ | |
'terminal' \ | |
'editor' \ | |
'history' \ | |
'directory' \ | |
'spectrum' \ | |
'utility' \ | |
'completion' \ | |
'prompt' \ | |
'docker' \ | |
'git' \ | |
'node' \ | |
'gpg' | |
# Set the key mapping style to 'emacs' or 'vi'. | |
zstyle ':prezto:module:editor' key-bindings 'emacs' | |
# Allow the zsh prompt context to be shown. | |
zstyle ':prezto:module:editor' ps-context 'yes' | |
# | |
# Prompt | |
# | |
# Set the prompt theme to load. | |
# Setting it to 'random' loads a random theme. | |
# Auto set to 'off' on dumb terminals. | |
zstyle ':prezto:module:prompt' theme 'powerlevel9k' | |
# Set the working directory prompt display length. | |
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion) | |
# for longer or 'full' (with '~' expansion) for even longer prompt display. | |
zstyle ':prezto:module:prompt' pwd-length 'short' | |
# Set the prompt to display the return code along with an indicator for non-zero | |
# return codes. This is not supported by all prompts. | |
zstyle ':prezto:module:prompt' show-return-val 'yes' | |
# Set the SSH identities to load into the agent. | |
zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github' | |
# Auto set the tab and window titles. | |
zstyle ':prezto:module:terminal' auto-title 'yes' | |
# Set the window title format. | |
zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s' | |
# Set the tab title format. | |
zstyle ':prezto:module:terminal:tab-title' format '%m: %s' | |
# Set the terminal multiplexer title format. | |
zstyle ':prezto:module:terminal:multiplexer-title' format '%s' | |
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
if [[ "$OSTYPE" == darwin* ]]; then | |
export BROWSER='open' | |
fi | |
export EDITOR='code' | |
export VISUAL='nano' | |
export PAGER='less' | |
if [[ -z "$LANG" ]]; then | |
export LANG='en_US.UTF-8' | |
fi | |
typeset -gU cdpath fpath mailpath path | |
path=( | |
/usr/local/{bin,sbin} | |
$path | |
) | |
export LESS='-F -g -i -M -R -S -w -X -z-4' | |
if (( $#commands[(i)lesspipe(|.sh)] )); then | |
export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-" | |
fi | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs ssh) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator command_execution_time background_jobs_joined time_joined) | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='' | |
POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='' | |
POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='' | |
POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='' | |
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{default}\u256D\u2500%F{white}" | |
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{default}\u2570\uf460%F{white} " | |
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND="clear" | |
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND="clear" | |
POWERLEVEL9K_VCS_MODIFIED_FOREGROUND="yellow" | |
POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND="yellow" | |
POWERLEVEL9K_DIR_HOME_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_HOME_FOREGROUND="blue" | |
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="blue" | |
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_FOREGROUND="red" | |
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white" | |
POWERLEVEL9K_ROOT_INDICATOR_BACKGROUND="red" | |
POWERLEVEL9K_ROOT_INDICATOR_FOREGROUND="white" | |
POWERLEVEL9K_STATUS_OK_BACKGROUND="clear" | |
POWERLEVEL9K_STATUS_OK_FOREGROUND="green" | |
POWERLEVEL9K_STATUS_ERROR_BACKGROUND="clear" | |
POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red" | |
POWERLEVEL9K_TIME_BACKGROUND="clear" | |
POWERLEVEL9K_TIME_FOREGROUND="cyan" | |
POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='clear' | |
POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='magenta' | |
POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND='clear' | |
POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND='green' | |
POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 | |
POWERLEVEL9K_SHORTEN_DELIMITER="" | |
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" |
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
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
export GOPATH="$HOME/Code/Go" | |
export PATH=$PATH:$(go env GOPATH)/bin | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment