initial commit

This commit is contained in:
csimonis 2024-08-07 08:41:40 +02:00
commit 5f43f7078d
8 changed files with 55 additions and 0 deletions

5
alias.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
alias c='clear'
alias apt='sudo apt'
alias apt-get='sudo apt-get'

9
all.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
source <(curl -s https://cdn.simonis.lol/alias.sh)
source <(curl -s https://cdn.simonis.lol/ddev.sh)
source <(curl -s https://cdn.simonis.lol/list.sh)
source <(curl -s https://cdn.simonis.lol/composer.sh)
source <(curl -s https://cdn.simonis.lol/git.sh)
source <(curl -s https://cdn.simonis.lol/db.sh)
source <(curl -s https://cdn.simonis.lol/misc.sh)

5
composer.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
alias cr='composer require'
alias ci='composer install'
alias cu='composer update'

6
db.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
alias schema='php bin/console doctrine:schema:update --force'
alias migr='php bin/console doctrine:fixtures:load --no-interaction'
alias drop='php bin/console doctrine:database:drop --force'
alias create='php bin/console doctrine:database:create'

6
ddev.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
alias console='ddev exec php bin/console'
alias composer='ddev exec composer'
alias npm='ddev exec npm'
alias php='ddev exec php'

14
git.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
alias ga='git add'
alias gaa='git add .'
alias gc='git commit'
alias gp='git push'
alias gpf='git push --force'
alias gpu='git pull'
alias gl='git log'
alias gb='git branch'
alias gr='git restore'
alias gra='git restore .'
alias gs='git status'
alias gch='git checkout'

6
list.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
alias ls='ls | lolcat'
alias lsa='bash -c "ls -a | lolcat"'
alias lsl='bash -c "ls -l | lolcat"'
alias lsal='bash -c "ls -al | lolcat"'

4
misc.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
alias test='php bin/phpunit'
alias cover='php bin/phpunit --coverage-html=html-coverage'