mirror of
https://github.com/owenlejeune/zsh-plugins.git
synced 2025-11-16 20:40:54 -05:00
add dotfiles plugin
This commit is contained in:
2
dotfiles/dotfiles.plugin.sh
Normal file
2
dotfiles/dotfiles.plugin.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
alias dotfile-make="sh ~/.dotfiles/dotfile-make.sh"
|
||||
alias df-make="dotfile-make"
|
||||
@@ -1,5 +1,5 @@
|
||||
alias allowanywhere="sudo spctl --master-disable"
|
||||
alias resetaudio="sudo killall coreadiod"
|
||||
alias resetaudio="sudo killall coreaudiod"
|
||||
|
||||
function screensaver() {
|
||||
open -a ScreenSaverEngine.app
|
||||
@@ -18,17 +18,6 @@ function quick-look() {
|
||||
(( $# > 0 )) && qlmanage -p $* &>/dev/null &
|
||||
}
|
||||
|
||||
function man-preview() {
|
||||
man -t "$@" | open -f -a Preview
|
||||
}
|
||||
|
||||
function open-preview() {
|
||||
"$@" | open -f -a Preview
|
||||
}
|
||||
|
||||
# Spotify control function
|
||||
source ${ZSH}/plugins/osx/spotify
|
||||
|
||||
# Show/hide hidden filed in the Finder
|
||||
alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
||||
alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
||||
|
||||
Reference in New Issue
Block a user