mirror of
https://github.com/owenlejeune/zsh-plugins.git
synced 2025-11-18 13:30:54 -05:00
update plugins
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.DS_Store
|
||||
@@ -1,5 +1,39 @@
|
||||
alias allowanywhere="sudo spctl --master-disable"
|
||||
alias resetaudio="sudo killall coreadiod"
|
||||
|
||||
function screensaver() {
|
||||
open -a ScreenSaverEngine.app
|
||||
open -a ScreenSaverEngine.app
|
||||
}
|
||||
|
||||
function finder() {
|
||||
DIR="."
|
||||
if [[ $# -gt 0 ]];
|
||||
then
|
||||
DIR="$1"
|
||||
fi
|
||||
open $DIR
|
||||
}
|
||||
|
||||
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"
|
||||
|
||||
# Remove .DS_Store files recursively in a directory, default .
|
||||
function rmdsstore() {
|
||||
find "${@:-.}" -type f -name .DS_Store -delete
|
||||
}
|
||||
|
||||
3
shell/shell.plugin.zsh
Normal file
3
shell/shell.plugin.zsh
Normal file
@@ -0,0 +1,3 @@
|
||||
alias la="ls -a"
|
||||
alias ll="ls -l"
|
||||
alias lla="ls -l -a"
|
||||
1
zsh-autosuggestions
Submodule
1
zsh-autosuggestions
Submodule
Submodule zsh-autosuggestions added at 43f3bc4010
Reference in New Issue
Block a user