We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Put your personal customizations in ~/.laptop.local. Write your customizations such that they can be run safely more than once.
~/.laptop.local
brew_install_or_upgrade, fancy_echo and other functions from mac are available for use in ~/.laptop.local.
brew_install_or_upgrade
fancy_echo
mac
Below are some example functions written by the community.
git_clone_or_pull() { local REPOSRC=$1 local LOCALREPO=$2 local LOCALREPO_VC_DIR=$LOCALREPO/.git if [[ ! -d "$LOCALREPO_VC_DIR" ]]; then git clone --recursive $REPOSRC $LOCALREPO else pushd $LOCALREPO git pull $REPOSRC && git submodule update --init --recursive popd fi }