Last active
June 11, 2019 16:39
-
-
Save kennyLtv/3697639ecf4c43600020d274b8fef5c6 to your computer and use it in GitHub Desktop.
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
alias ll='ls -lG' | |
# Docker Compose Alias' | |
alias dcr='docker-compose down; docker-compose up -d;' | |
alias dcs='docker-compose up -d;' | |
alias dcd='docker-compose down;' | |
alias dclms='docker-compose exec app php artisan migrate:fresh; docker-compose exec app php artisan db:seed' | |
alias nah="git reset --hard;git clean -df;" | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\[\033[38;5;33m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]:[\[$(tput sgr0)\]\[\033[38;5;45m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]]\[$(tput sgr0)\]\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment