mirror of
https://github.com/owenlejeune/zsh-plugins.git
synced 2025-11-18 21:40:54 -05:00
first commit
This commit is contained in:
2
example/example.plugin.zsh
Normal file
2
example/example.plugin.zsh
Normal file
@@ -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.
|
||||
29
git/git.plugin.zsh
Normal file
29
git/git.plugin.zsh
Normal file
@@ -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
|
||||
}
|
||||
1
homebrew/homebrew.plugin.zsh
Normal file
1
homebrew/homebrew.plugin.zsh
Normal file
@@ -0,0 +1 @@
|
||||
alias brewup="brew update && brew upgrade && brew cleanup && brew doctor && brew cask upgrade"
|
||||
5
macos/macos.plugin.zsh
Normal file
5
macos/macos.plugin.zsh
Normal file
@@ -0,0 +1,5 @@
|
||||
alias allowanywhere="sudo spctl --master-disable"
|
||||
|
||||
function screensaver() {
|
||||
open -a ScreenSaverEngine.app
|
||||
}
|
||||
2
oneplus/oneplus.plugin.zsh
Normal file
2
oneplus/oneplus.plugin.zsh
Normal file
@@ -0,0 +1,2 @@
|
||||
alias maclaren="adb shell settings put system op_custom_unlock_animation_style 3"
|
||||
alias mclaren="maclaren"
|
||||
1
subliminal/subliminal.plugin.zsh
Normal file
1
subliminal/subliminal.plugin.zsh
Normal file
@@ -0,0 +1 @@
|
||||
alias sd="subliminal download -l en"
|
||||
1
telnet/telnet.plugin.zsh
Normal file
1
telnet/telnet.plugin.zsh
Normal file
@@ -0,0 +1 @@
|
||||
alias starwars="telnet towel.blinkenlights.nl"
|
||||
Reference in New Issue
Block a user