diff --git a/dotfiles/dotfiles.plugin.sh b/dotfiles/dotfiles.plugin.sh new file mode 100644 index 0000000..16efead --- /dev/null +++ b/dotfiles/dotfiles.plugin.sh @@ -0,0 +1,2 @@ +alias dotfile-make="sh ~/.dotfiles/dotfile-make.sh" +alias df-make="dotfile-make" diff --git a/macos/macos.plugin.zsh b/macos/macos.plugin.zsh index a3ac6bc..1f694c4 100644 --- a/macos/macos.plugin.zsh +++ b/macos/macos.plugin.zsh @@ -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"