sudo pacman -Syu zsh
You do not need to install manjaro-zsh-config
and all the other related packages like zsh-syntax-highlighting
, zsh-history-substring-search
, zsh-autosuggestions
, etc., as we will use Oh My Zsh.
sudo pacman -Syu zsh
You do not need to install manjaro-zsh-config
and all the other related packages like zsh-syntax-highlighting
, zsh-history-substring-search
, zsh-autosuggestions
, etc., as we will use Oh My Zsh.
Consistency is a very important factor in software development.
But because different developers have different experiences and preferences it takes some time and effort to achieve consistency in projects.
A solution to that are discussed and then tool-enforced rules. Some solutions to that are linters, code formatters, checks on the CI and code reviews.
#!/bin/sh | |
# | |
# This file is distributed under Public domain. | |
# | |
# Author: silvioprog. | |
# | |
# Installing: | |
# | |
# - `$ mv commit-msg.sh .git/hooks/commit-msg` | |
# - `$ chmod +x .git/hooks/commit-msg` |
neofetch --off |
### Flutter Generated | |
# Miscellaneous | |
*.class | |
*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ |
#!/bin/bash | |
ASPELL=$(which aspell) | |
if [ $? -ne 0 ]; then | |
echo "Aspell not installed - unable to check spelling" >&2 | |
exit | |
else | |
WORDS=$($ASPELL --mode=email --add-email-quote='#' list < "$1" | sort -u) | |
fi | |
if [ -n "$WORDS" ]; then | |
printf "\e[1;33m Possible spelling errors found in commit message:\n\e[0m\e[0;31m%s\n\e[0m\e[1;33m Use git commit --amend to change the message.\e[0m\n\n" "$WORDS" >&2 |
alias ggpur='ggu' | |
compdef _git ggpur=git-checkout | |
alias gignore='git update-index --assume-unchanged' | |
alias gignored='git ls-files -v | grep "^[[:lower:]]"' | |
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk' | |
compdef git-svn-dcommit-push=git | |
alias gk='\gitk --all --branches' | |
compdef _git gk='gitk' |