This file contains hidden or 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
# shell | |
sudo apt -y install libnss3-tools | |
# Adding aliases if they don't already exist | |
grep -q "alias s=" ~/.bashrc || echo 'alias s="symfony"' >> ~/.bashrc | |
grep -q "alias sc=" ~/.bashrc || echo 'alias sf="symfony console"' >> ~/.bashrc | |
grep -q "alias mi=" ~/.bashrc || echo 'alias mi="sf doctrine:migrations:migrate -n"' >> ~/.bashrc | |
grep -q "alias cc=" ~/.bashrc || echo 'alias cc="sf cache:clear"' >> ~/.bashrc | |
grep -q "alias st=" ~/.bashrc || echo 'alias st="git status"' >> ~/.bashrc | |
grep -q "alias t=" ~/.bashrc || echo 'alias t="lazygit"' >> ~/.bashrc |
This file contains hidden or 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
function _omb_prompt_git { | |
command git "$@" | |
} | |
function _omb_prompt_git_status_enabled { | |
[[ $(_omb_prompt_git config --get-regexp '^(oh-my-zsh|bash-it|oh-my-bash)\.hide-status$' | | |
awk '$2== "1" {hide_status = 1;} END { print hide_status; }') != "1" ]] | |
} | |
# # Note: The same name of a functionis defined in omb-prompt-base. We comment |
OlderNewer