commit 03b6bfa23173037c36971f080047c450fe3f771a Author: Owen LeJeune Date: Sun Mar 1 17:47:25 2020 -0500 first commit diff --git a/example/example.plugin.zsh b/example/example.plugin.zsh new file mode 100644 index 0000000..406f274 --- /dev/null +++ b/example/example.plugin.zsh @@ -0,0 +1,2 @@ +# Add your own custom plugins in the custom/plugins directory. Plugins placed +# here will override ones with the same name in the main plugins directory. diff --git a/git/git.plugin.zsh b/git/git.plugin.zsh new file mode 100644 index 0000000..41e0170 --- /dev/null +++ b/git/git.plugin.zsh @@ -0,0 +1,29 @@ +alias gadd="git add" +alias gadda="gadd -A" +alias gstatus="git status" +alias gdiff="git diff" +alias glog="git log" +alias glast="glog -p -1" +alias gcheckout="git checkout" +alias gcheckoutb="gcheckout -b" +alias gcheckoutf="gcheckout --" +alias gpull="git pull origin" +alias gpullm="gpull master" +alias grebase="git rebase" +alias gcommit="git commit" +alias gcommitm="git commit -m" +alias gamend="gcommit --amend" +alias gbranch="git branch" +alias rnmbranch="gbranch -m" +alias gpushb="git push origin" + +function gpush() { + BRANCH="" + if [[ $# -eq 0 ]]; + then + BRANCH="$(git rev-parse --abbrev-ref HEAD)" + else + BRANCH="$1" + fi + git push origin $BRANCH +} diff --git a/homebrew/homebrew.plugin.zsh b/homebrew/homebrew.plugin.zsh new file mode 100644 index 0000000..558ed2c --- /dev/null +++ b/homebrew/homebrew.plugin.zsh @@ -0,0 +1 @@ +alias brewup="brew update && brew upgrade && brew cleanup && brew doctor && brew cask upgrade" diff --git a/macos/macos.plugin.zsh b/macos/macos.plugin.zsh new file mode 100644 index 0000000..3442378 --- /dev/null +++ b/macos/macos.plugin.zsh @@ -0,0 +1,5 @@ +alias allowanywhere="sudo spctl --master-disable" + +function screensaver() { + open -a ScreenSaverEngine.app +} diff --git a/oneplus/oneplus.plugin.zsh b/oneplus/oneplus.plugin.zsh new file mode 100644 index 0000000..13f6563 --- /dev/null +++ b/oneplus/oneplus.plugin.zsh @@ -0,0 +1,2 @@ +alias maclaren="adb shell settings put system op_custom_unlock_animation_style 3" +alias mclaren="maclaren" diff --git a/subliminal/subliminal.plugin.zsh b/subliminal/subliminal.plugin.zsh new file mode 100644 index 0000000..cc27cb2 --- /dev/null +++ b/subliminal/subliminal.plugin.zsh @@ -0,0 +1 @@ +alias sd="subliminal download -l en" diff --git a/telnet/telnet.plugin.zsh b/telnet/telnet.plugin.zsh new file mode 100644 index 0000000..0f11784 --- /dev/null +++ b/telnet/telnet.plugin.zsh @@ -0,0 +1 @@ +alias starwars="telnet towel.blinkenlights.nl"