https://github.com/cviebrock/eloquent-sluggable
composer require cviebrock/eloquent-sluggable
installedPhpVersions=('7.1' '7.2' '7.3' '7.4', '8.0') | |
for phpVersion in ${installedPhpVersions[*]}; do | |
value="{" | |
for otherPhpVersion in ${installedPhpVersions[*]}; do | |
if [ "${otherPhpVersion}" != "${phpVersion}" ]; then | |
value="${value} brew unlink php@${otherPhpVersion};" | |
fi | |
done |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# Tonning's Theme | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). | |
# |
[alias] | |
save = "!f() { \ | |
echo \"\\033[32mSaving Work in Progress...\"; \ | |
git add . && git commit -m 'WIP'; \ | |
}; f" | |
resume = "!f() { \ | |
if [[ $(git log --format=%B -n 1 | grep WIP) == WIP ]]; then \ | |
echo \"\\033[32mResuming Work in Progress...\"; \ | |
git reset HEAD~; \ | |
else \ |
https://github.com/cviebrock/eloquent-sluggable
composer require cviebrock/eloquent-sluggable