forked from eduardolat/pgbackweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f0acbad
commit c0743c5
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/bash | ||
|
||
# Fix permissions of all files in the current directory and subdirectories | ||
chmod -R 777 ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Define command aliases | ||
alias t='task' | ||
alias td='task dev' | ||
alias tb='task build' | ||
alias tt='task test' | ||
alias tl='task lint' | ||
alias tf='task format' | ||
alias ll='ls -alF' | ||
alias la='ls -A' | ||
alias l='ls -CF' | ||
alias ..='cd ..' | ||
alias c='clear' | ||
echo "[OK] aliases set" | ||
|
||
# Set the user file-creation mode mask to 000, which allows all | ||
# users read, write, and execute permissions for newly created files. | ||
umask 000 | ||
echo "[OK] umask set" | ||
|
||
# Run the 'fixperms' task that fixes the permissions of the files and | ||
# directories in the project. | ||
task fixperms | ||
echo "[OK] permissions fixed" | ||
|
||
# Configure Git to ignore ownership and file mode changes. | ||
git config --global --add safe.directory '*' | ||
git config --global core.fileMode false | ||
git config --unset core.fileMode | ||
git config core.fileMode false | ||
echo "[OK] git configured" | ||
|
||
echo " | ||
─────────────────────────────────────────────── | ||
── Website: https://eduardo.lat ─────────────── | ||
── Github: https://github.com/eduardolat ────── | ||
─────────────────────────────────────────────── | ||
── Development environment is ready to use! ─── | ||
─────────────────────────────────────────────── | ||
" |