-
-
Save tomvalt/ef2fcbc6f448fb4f3dff9366c660b072 to your computer and use it in GitHub Desktop.
temp
This file contains 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 you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/tommi/.oh-my-zsh | |
export ITERM2_SQUELCH_MARK=1 | |
export LANG="fi_FI.UTF-8" | |
source $ZSH/oh-my-zsh.sh | |
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
# Add the custom freeCodeCamp prompt segment | |
# Load Nerd Fonts with Powerlevel9k theme for Zsh | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
source ~/.oh-my-zsh/custom/themes/powerlevel9k/powerlevel9k.zsh-theme | |
source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh | |
#autoload -U compinit | |
#compinit | |
ZSH_THEME=powerlevel9k/powerlevel9k | |
#ZSH_THEME=powerlevel9k | |
plugins=( | |
git | |
zsh-syntax-highlighting | |
zsh-autosuggestions | |
autoupdate | |
history-substring-search | |
) | |
POWERLEVEL9K_CONTEXT_TEMPLATE='%n' | |
POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND='white' | |
POWERLEVEL9K_BATTERY_CHARGING='yellow' | |
POWERLEVEL9K_BATTERY_CHARGED='green' | |
POWERLEVEL9K_BATTERY_DISCONNECTED='$DEFAULT_COLOR' | |
POWERLEVEL9K_BATTERY_LOW_THRESHOLD='10' | |
POWERLEVEL9K_BATTERY_LOW_COLOR='red' | |
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='' | |
POWERLEVEL9K_BATTERY_VERBOSE=false | |
#POWERLEVEL9K_BATTERY_STAGES=($'\u2581 ' $'\u2582 ' $'\u2583 ' $'\u2584 ' $'\u2585 ' $'\u2586 ' $'\u2587 ' $'\u2588 ') | |
POWERLEVEL9K_BATTERY_ICON='\uf1e6 ' | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_RPROMPT_ON_NEWLINE=false | |
POWERLEVEL9K_RPROMPT_PREFIX='%{'$'\e[3A''%}' | |
POWERLEVEL9K_RPROMPT_SUFFIX='%{'$'\e[3B''%}' | |
POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX=$'\u2502' | |
PROMPT_BLANK="${POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX}\n" | |
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="❱ " | |
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="${PROMPT_BLANK}%F{014}\u2570%F{cyan}\uF460%F{073}\uF460%F{109}\uF460%f " | |
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='yellow' | |
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='yellow' | |
POWERLEVEL9K_VCS_UNTRACKED_ICON='?' | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon context battery dir vcs) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time ram ) | |
POWERLEVEL9K_TIME_FORMAT="%D{\uf017 %H:%M \uf073 %d/%m/%y}" | |
POWERLEVEL9K_TIME_BACKGROUND='white' | |
POWERLEVEL9K_RAM_BACKGROUND='yellow' | |
POWERLEVEL9K_LOAD_CRITICAL_BACKGROUND="white" | |
POWERLEVEL9K_LOAD_WARNING_BACKGROUND="white" | |
POWERLEVEL9K_LOAD_NORMAL_BACKGROUND="white" | |
POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND="red" | |
POWERLEVEL9K_LOAD_WARNING_FOREGROUND="yellow" | |
POWERLEVEL9K_LOAD_NORMAL_FOREGROUND="black" | |
POWERLEVEL9K_LOAD_CRITICAL_VISUAL_IDENTIFIER_COLOR="red" | |
POWERLEVEL9K_LOAD_WARNING_VISUAL_IDENTIFIER_COLOR="yellow" | |
POWERLEVEL9K_LOAD_NORMAL_VISUAL_IDENTIFIER_COLOR="green" | |
POWERLEVEL9K_HOME_ICON='' | |
POWERLEVEL9K_HOME_SUB_ICON='' | |
POWERLEVEL9K_FOLDER_ICON='' | |
POWERLEVEL9K_STATUS_VERBOSE=true | |
POWERLEVEL9K_STATUS_CROSS=true | |
neofetch | |
POWERLEVEL9K_PROMPT_ADD_NEWLINE_COUNT=1 | |
# Set iTerm2 tab title text | |
function title_text { | |
echo -ne "\033]0;"$*"\007" | |
} | |
title_text Tommi | |
alias keynote="bundle exec /Users/tommi/Documents/Weekly\ Operational\ Meeting/tkn-master/bin/tkn" | |
alias salasana="/Users/tommi/Library/Mobile\ Documents/com~apple~CloudDocs/Documents/terminal_commands/salasanageneraattori1.1/./random_pass.sh" | |
alias ftp="/Users/tommi/Library/Mobile\ Documents/com~apple~CloudDocs/Documents/terminal_commands/ftp" | |
alias iperf3="/Users/tommi/Library/Mobile\ Documents/com~apple~CloudDocs/Documents/terminal_commands/iperf3" | |
alias telnet="/Users/tommi/Library/Mobile\ Documents/com~apple~CloudDocs/Documents/terminal_commands/telnet" | |
alias munkipkg="/Users/tommi/Documents/terminal_commands/munki-pkg/munkipkg" | |
alias oathplus="/Users/tommi/Documents/terminal_commands/oathplus/oathplus " | |
# The next line updates PATH for the Google Cloud SDK. | |
if [ -f '/Users/tommi/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/tommi/google-cloud-sdk/path.zsh.inc'; fi | |
# The next line enables shell command completion for gcloud. | |
if [ -f '/Users/tommi/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/tommi/google-cloud-sdk/completion.zsh.inc'; fi | |
export PATH="/usr/local/opt/libxml2/bin:$PATH" | |
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" | |
export PATH="/usr/local/opt/openssl@1.1/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment