minor refactor
This commit is contained in:
parent
bb266e3094
commit
0f0fe951ee
5
alias.sh
5
alias.sh
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias c='clear'
|
||||
alias apt='sudo apt'
|
||||
alias apt-get='sudo apt-get'
|
2
composer.sh
Normal file → Executable file
2
composer.sh
Normal file → Executable file
@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias cr='composer require'
|
||||
alias ci='composer install'
|
||||
alias cu='composer update'
|
2
db.sh
Normal file → Executable file
2
db.sh
Normal file → Executable file
@ -1,5 +1,3 @@
|
||||
#!/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'
|
||||
|
2
ddev.sh
Normal file → Executable file
2
ddev.sh
Normal file → Executable file
@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias console='ddev exec php bin/console'
|
||||
alias composer='ddev exec composer'
|
||||
alias npm='ddev exec npm'
|
||||
|
2
git.sh
Normal file → Executable file
2
git.sh
Normal file → Executable file
@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias ga='git add'
|
||||
alias gaa='git add .'
|
||||
alias gc='git commit'
|
||||
|
2
list.sh
Normal file → Executable file
2
list.sh
Normal file → Executable file
@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
unalias ls 2>/dev/null
|
||||
|
||||
ls() {
|
||||
|
7
misc.sh
Normal file → Executable file
7
misc.sh
Normal file → Executable file
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias test='php bin/phpunit'
|
||||
alias cover='php bin/phpunit --coverage-html=html-coverage'
|
||||
alias cd='z'
|
||||
alias cd='z'
|
||||
alias c='clear'
|
||||
alias apt='sudo apt'
|
||||
alias apt-get='sudo apt-get'
|
@ -4,7 +4,7 @@ cd ~/.dotfiles
|
||||
echo "Checking for dotfile updates..."
|
||||
git fetch
|
||||
|
||||
if [ $(git rev-parse HEAD) == $(git rev-parse @{u}) ];
|
||||
if [ $(git rev-parse HEAD) != $(git rev-parse @{u}) ];
|
||||
then
|
||||
read -p "Dotfiles can be updated. Do you want to proceed? (y/n)" choice
|
||||
case "$choice" in
|
Loading…
x
Reference in New Issue
Block a user