Compare commits

...

2 Commits

Author SHA1 Message Date
Jeremy Dormitzer
2844eb0722 Add some zsh aliases 2021-02-21 09:08:01 -05:00
Jeremy Dormitzer
519094f467 Load zsh typewriter theme 2021-02-21 09:07:50 -05:00

View File

@ -2,13 +2,23 @@
# export PATH=$HOME/bin:/usr/local/bin:$PATH # export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="~/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
# Load up typewritten theme if it exists
if [[ -d "$HOME/typewritten" ]]
then
export TYPEWRITTEN_CURSOR="terminal"
fpath+=$HOME/typewritten
autoload -U promptinit; promptinit
prompt typewritten
ZSH_THEME=""
else
# Set name of the theme to load --- if set to "random", it will # 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, # 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 # to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell" ZSH_THEME="robbyrussell"
fi
# Set list of themes to pick from when loading at random # Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load # Setting this variable when ZSH_THEME=random will cause zsh to load
@ -99,3 +109,8 @@ source $ZSH/oh-my-zsh.sh
# Example aliases # Example aliases
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
alias k="kubectl"
alias kns="kubens"
alias kctx="kubectx"
alias tf="terraform"