Skip to content

Instantly share code, notes, and snippets.

@dmcnulla
Last active April 30, 2021 18:55
Show Gist options
  • Select an option

  • Save dmcnulla/1b5fc874c04b5270b6ec410a0fab92a9 to your computer and use it in GitHub Desktop.

Select an option

Save dmcnulla/1b5fc874c04b5270b6ec410a0fab92a9 to your computer and use it in GitHub Desktop.

Revisions

  1. dmcnulla revised this gist Apr 30, 2021. 1 changed file with 129 additions and 21 deletions.
    150 changes: 129 additions & 21 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -1,32 +1,140 @@
    # 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=/home/dave/.oh-my-zsh
    export ZSH=/Users/dm186069/.oh-my-zsh

    # Set name of the theme to load. Optionally, if you set this to "random"
    # it'll load a random theme each time that oh-my-zsh is loaded.
    # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
    ZSH_THEME="robbyrussell"

    # Set list of themes to load
    # Setting this variable when ZSH_THEME=random
    # cause zsh load theme from this variable instead of
    # looking in ~/.oh-my-zsh/themes/
    # An empty array have no effect
    # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

    # Uncomment the following line to use case-sensitive completion.
    # CASE_SENSITIVE="true"

    # Uncomment the following line to use hyphen-insensitive completion. Case
    # sensitive completion must be off. _ and - will be interchangeable.
    # HYPHEN_INSENSITIVE="true"

    # Uncomment the following line to disable bi-weekly auto-update checks.
    # DISABLE_AUTO_UPDATE="true"

    # ZSH_THEME="robbyrussell"
    ZSH_THEME="nebirhos2"
    user="%n"
    host="%m"
    directory="%~"
    local smiley="%(?,%{$fg[green]%}☺ %{$reset_color%},%{$fg[red]%}☹ %{$reset_color%})"
    # Uncomment the following line to change how often to auto-update (in days).
    # export UPDATE_ZSH_DAYS=13

    PROMPT=$'$fg[white]$user@$host%f $fg[red]$directory%f $fg[white]($(rvm-prompt))%f $(git_prompt_info)\n$smiley'
    ZSH_CUSTOM=/home/dave/zsh_custom
    # Uncomment the following line to disable colors in ls.
    # DISABLE_LS_COLORS="true"

    # Uncomment the following line to disable auto-setting terminal title.
    # DISABLE_AUTO_TITLE="true"

    plugins=(git ackgrep directory docker git hardware pipe ruby autojump python anaconda rvsm)
    # Uncomment the following line to enable command auto-correction.
    # ENABLE_CORRECTION="true"

    export PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
    # 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.
    # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
    # HIST_STAMPS="mm/dd/yyyy"
    export HISTTIMEFORMAT="[%F %T] "
    export HISTFILESIZE=1000000000
    export HISTSIZE=1000000000
    setopt INC_APPEND_HISTORY
    setopt EXTENDED_HISTORY


    # Would you like to use another custom folder than $ZSH/custom?
    ZSH_CUSTOM=~/zsh_custom

    # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
    # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
    # Example format: plugins=(rails git textmate ruby lighthouse)
    # Add wisely, as too many plugins slow down shell startup.
    plugins=(
    git_dave
    autojump
    ackgrep
    directory
    docker
    pipe
    anaconda
    ssh-agent
    )
    zstyle :omz:plugins:ssh-agent agent-forwarding on
    source $ZSH/oh-my-zsh.sh

    export RVM_HOME=/home/dave/.rvm
    export JAVA_HOME=/usr/local/share/jdk1.8.0_101
    export JAVA_OPTS="-Xms128m -Xmx512m $JAVA_OPTS"
    export NVM_DIR="/home/dave/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
    export WEBDRIVERS_HOME="/usr/local/share/web-drivers"
    # User configuration
    # export MANPATH="/usr/local/man:$MANPATH"

    # You may need to manually set your language environment
    # export LANG=en_US.UTF-8

    # Preferred editor for local and remote sessions
    # if [[ -n $SSH_CONNECTION ]]; then
    # export EDITOR='vim'
    # else
    # export EDITOR='mvim'
    # fi

    # Compilation flags
    # export ARCHFLAGS="-arch x86_64"

    # ssh
    # export SSH_KEY_PATH="~/.ssh/rsa_id"

    # Set personal aliases, overriding those provided by oh-my-zsh libs,
    # plugins, and themes. Aliases can be placed here, though oh-my-zsh
    # users are encouraged to define aliases within the ZSH_CUSTOM folder.
    # For a full list of active aliases, run `alias`.
    #
    # Example aliases
    # alias zshconfig="mate ~/.zshrc"
    # alias ohmyzsh="mate ~/.oh-my-zsh"

    export JAVA8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home
    export GOPATH=/usr/local/Cellar/go/1.10.2

    # Teradata commandline tools
    export TD_CLIENT_1620_PATH=~/teradata/client/16.20/bin
    export TD_CLIENT_1700_PATH=~/teradata/client/17.00/bin
    export CONDA_HOME=~/anaconda3/bin
    export ZMQ_HOME=/usr/local/Cellar/zeromq
    export SCRIPT_PATH=/Users/dm186069/projects/scripts

    export PATH=$TD_CLIENT_1620_PATH:$DEFAULT_PIPS:$GOPATH/bin:$ZMQ_HOME:$CONDA_HOME:$PATH:/Users/dm186069/teradatasqlmacos:$SCRIPT_PATH
    # export PATH=$TD_CLIENT_1700_PATH:$DEFAULT_PIPS:$GOPATH/bin:$ZMQ_HOME:$CONDA_HOME:$PATH:/Users/dm186069/teradatasqlmacos:$SCRIPT_PATH
    # test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"

    export ARTIFACTORY_USER=ua230042
    export ARTIFACTORY_PASSWORD=AP3QAeptPVMk5ouw7BwKgXE5UKE

    export LC_ALL=en_US.utf-8
    export LANG=en_US.utf-8

    export GITHUB_URL=http://github.td.teradata.com/
    export JENKINS_TOKEN='11f4c99960f335efaae5ba3c24da603311'

    # export PATH=$PATH;/Users/dm186069/webdrivers
    export PATH="/usr/local/opt/openjdk/bin:$PATH"

    export PATH="$PATH:$HOME/.rvm/bin:$JAVA_HOME:$NVM_DIR:$RVM_HOME:$WEBDRIVERS_HOME"
    export PATH=$PATH:/usr/local/sbin

    export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
    # Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
    export PATH="$PATH:$HOME/.rvm/bin"

    # added by Anaconda3 4.2.0 installer
    export PATH="/home/dave/anaconda3/bin:$PATH"
    # Ruby support
    source /Users/dm186069/.rvm/scripts/rvm
  2. dmcnulla created this gist Nov 15, 2016.
    32 changes: 32 additions & 0 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    # Path to your oh-my-zsh installation.
    export ZSH=/home/dave/.oh-my-zsh

    # ZSH_THEME="robbyrussell"
    ZSH_THEME="nebirhos2"
    user="%n"
    host="%m"
    directory="%~"
    local smiley="%(?,%{$fg[green]%}☺ %{$reset_color%},%{$fg[red]%}☹ %{$reset_color%})"

    PROMPT=$'$fg[white]$user@$host%f $fg[red]$directory%f $fg[white]($(rvm-prompt))%f $(git_prompt_info)\n$smiley'
    ZSH_CUSTOM=/home/dave/zsh_custom


    plugins=(git ackgrep directory docker git hardware pipe ruby autojump python anaconda rvsm)

    export PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
    source $ZSH/oh-my-zsh.sh

    export RVM_HOME=/home/dave/.rvm
    export JAVA_HOME=/usr/local/share/jdk1.8.0_101
    export JAVA_OPTS="-Xms128m -Xmx512m $JAVA_OPTS"
    export NVM_DIR="/home/dave/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
    export WEBDRIVERS_HOME="/usr/local/share/web-drivers"

    export PATH="$PATH:$HOME/.rvm/bin:$JAVA_HOME:$NVM_DIR:$RVM_HOME:$WEBDRIVERS_HOME"

    export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

    # added by Anaconda3 4.2.0 installer
    export PATH="/home/dave/anaconda3/bin:$PATH"