Last active
April 8, 2021 16:02
-
-
Save hjnowakowski/4842aaad8bbfd37dbaec39f66ca48735 to your computer and use it in GitHub Desktop.
ZSH config
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
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="agnoster" | |
export LANG="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export LC_CTYPE="en_US.UTF-8" | |
# Aliases | |
alias v="vi" | |
alias c="clear" | |
alias b="bat" | |
alias simple-server="python -m SimpleHTTPServer 9000" | |
alias k="kubectl" | |
alias sha="shasum" | |
alias t="tldr" | |
alias cafe="caffeinate" | |
alias mk="minikube" | |
alias szsh="source ~/.zshrc" | |
alias pc="pbcopy" | |
alias aca="ant clean all" | |
alias rp="realpath" | |
alias tm="tmux" | |
export PATH=/Library/Java/JavaVirtualMachines/graalvm-ce-lts-java11-20.3.1/Contents/Home/bin:"$PATH" | |
export PATH="/usr/local/opt/bzip2/bin:$PATH" | |
brewest() { | |
brew update && brew upgrade && brew cleanup && brew services restart --all | |
} | |
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion | |
# Enable vim mode | |
set -o vi | |
plugins=(zsh-autosuggestions zsh-syntax-highlighting git) | |
source $ZSH/oh-my-zsh.sh | |
# jump between words with alt + arrow | |
bindkey "^[^[[D" backward-word | |
bindkey "^[^[[C" forward-word |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment