Skip to content

Instantly share code, notes, and snippets.

View victordanilo's full-sized avatar

Victor Danilo victordanilo

  • TradioBank
  • Brazil
View GitHub Profile
@victordanilo
victordanilo / phpdismod
Created October 21, 2024 03:56
phpdismod
#!/usr/bin/env bash
ROOT_DIR=$(asdf where php)
CONF_D_DIR="${ROOT_DIR}/conf.d"
# Checks if the module name has been passed
if [ "$#" -ne 1 ]; then
echo "Uso: $0 {mod_name}"
exit 1
fi
@victordanilo
victordanilo / phpenmod
Created October 21, 2024 03:55
phpenmod
#!/usr/bin/env bash
ROOT_DIR=$(asdf where php)
MODS_AVAILABLE_DIR="${ROOT_DIR}/mods-available"
CONF_D_DIR="${ROOT_DIR}/conf.d"
# Checks if the module name has been passed
if [ "$#" -ne 1 ]; then
echo "Uso: $0 {mod_name}"
exit 1
@victordanilo
victordanilo / .zshrc
Last active April 18, 2023 04:31
.zshrc
# Load hooks
source ~/.zsh_hooks.zsh
# Zstyle setting
zstyle ':antidote:bundle' use-friendly-names 'yes'
zstyle ':antidote:bundle' file '.zsh_plugins'
zstyle ':antidote:static' file '.zsh_dump_plugins.zsh'
#zstyle ':omz:plugin:git' alias yes
load_theme "spaceship"
@victordanilo
victordanilo / .zsh_plugins
Last active April 18, 2023 04:31
.zsh_plugins
ohmyzsh/ohmyzsh
spaceship-prompt/spaceship-prompt
zdharma/fast-syntax-highlighting
zsh-users/zsh-autosuggestions
zsh-users/zsh-completions
junegunn/fzf kind:clone
junegunn/fzf path:shell kind:zsh
junegunn/fzf path:bin kind:path