daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Custom Pointer.
  2. local ret_status="%(?:%{$fg_bold[green]%}🍕 :%{$fg_bold[red]%}🍕 )"
  3. PROMPT='${ret_status} %{$fg[yellow]%}%c%{$reset_color%} $(git_prompt_info)'
  4.  
  5. # Functions
  6. function squash() {
  7.   if [ -z "$1" ];
  8.   then
  9.     local qty=2;
  10.   else
  11.     local qty=$1
  12.   fi
  13.  
  14.   git add -A;
  15.   git commit -m"m";
  16.   git rebase -i HEAD~$qty;
  17. }
  18.  
  19. # Aliases.
  20. alias zsh="sublime ~/.zshrc"
  21.  
  22. # Docker Specific Aliases.
  23. alias docker-test="docker-compose exec web php ./vendor/bin/phpunit -c wp-content/themes/phpunit.xml"
  24. alias docker-sr="docker-compose exec web ./wp-cli.phar --allow-root search-replace"
  25. alias docker-rewrite-list="docker-compose exec web php ./wp-cli.phar rewrite list --alolow-root --path=admin/"
  26. alias docker-rewrite-flush="docker-compose exec web php ./wp-cli.phar rewrite flush --alolow-root --path=admin/"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top