Skip to content

Instantly share code, notes, and snippets.

@yeshvantbhavnasi
Created September 10, 2019 05:21
Show Gist options
  • Save yeshvantbhavnasi/eb93515c06622d89fd72c33cb2ee129c to your computer and use it in GitHub Desktop.
Save yeshvantbhavnasi/eb93515c06622d89fd72c33cb2ee129c to your computer and use it in GitHub Desktop.
ohmyzsh configuration
ZSH_THEME="agnoster"
DEFAULT_USER=`whoami`
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
plugins=(git python brew osx gradle)
source $ZSH/oh-my-zsh.sh
ZSH_THEME="gnoster"
# common aliases
alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
#rem aliases for gradle stuff
alias gradlewr='./gradlew --refresh-dependencies'
alias gradlel='./gradlew pTML'
alias gradlep='./gradlew publish'
alias c='clear'
alias l='ls -alrt'
# functions performing repeated tasks:
#to open vscode on a folder
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
alias gl='git log --graph --oneline --decorate --all'
alias ls='exa -l' #better tool to replace the ls command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment