From a69c4b8c18ff316ec569f49b4a7c3c7895df3efc Mon Sep 17 00:00:00 2001 From: "Luis C." Date: Mon, 27 May 2024 00:40:59 -0400 Subject: [PATCH] zshrc --- .zshrc | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..1b08270 --- /dev/null +++ b/.zshrc @@ -0,0 +1,91 @@ +# 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/lucataco/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="robbyrussell" + + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# plugins +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git zsh-autosuggestions zsh-syntax-highlighting) + +source $ZSH/oh-my-zsh.sh + +# User configuration +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +export LANG=en_US.UTF-8 + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Example aliases +alias zshconfig="mate ~/.zshrc" +alias ohmyzsh="mate ~/.oh-my-zsh" + + +# Timestamp Left +PROMPT='%{$fg[green]%}%m '$PROMPT + +#Time Right +RPROMPT="%{$fg[yellow]%}[%D{%L:%M:%S}]" + + +# NVM +export NVM_DIR=~/.nvm +source $(brew --prefix nvm)/nvm.sh + + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/Users/lucataco/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/Users/lucataco/miniconda3/etc/profile.d/conda.sh" ]; then + . "/Users/lucataco/miniconda3/etc/profile.d/conda.sh" + else + export PATH="/Users/lucataco/miniconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< + + +# The next line updates PATH for the Google Cloud SDK. +if [ -f '/Users/lucataco/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/lucataco/Downloads/google-cloud-sdk/path.zsh.inc'; fi +# The next line enables shell command completion for gcloud. +if [ -f '/Users/lucataco/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/lucataco/Downloads/google-cloud-sdk/completion.zsh.inc'; fi +