Skip to content

Instantly share code, notes, and snippets.

@lcds90
Created August 26, 2021 21:54
Show Gist options
  • Save lcds90/95409bba96e9b4f1dd3509265e6eebfa to your computer and use it in GitHub Desktop.
Save lcds90/95409bba96e9b4f1dd3509265e6eebfa to your computer and use it in GitHub Desktop.
Bash Alias
#Apos inserir o atalho desejado execute esse comando
alias updateAlias='source ~/.bashrc'
#Atalho para limpar
alias cls='clear'
#Config teclado
alias keyboard='setxkbmap -model abnt -layout us -variant intl'
#Criacao de app react automatica
react(){
npx create-react-app "$@"
}
#Para ativar servidor cors
alias serverCors='cd /home/lcds/Documents/Pessoal/cors-anywhere/ && node server'
mkcd(){
mkdir "$1"
cd "./$1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment