remove unused plugins

main
Steffen Rademacker 8 years ago
parent 03a0276a34
commit 1d14d62c25

@ -1 +0,0 @@
Subproject commit 7ff9a697dcd7a0c452ed6cfc736b761c9a1714c4

@ -1,53 +0,0 @@
# Open folder in ForkLift.app of ForkLift2.app from console
# Author: Adam Strzelecki nanoant.com, modified by Bodo Tasche bitboxer.de
# Updated to support ForkLift2 by Johan Kaving
#
# Usage:
# fl [<folder>]
#
# Opens specified directory or current working directory in ForkLift.app
#
# Notes:
# It assumes Shift+Cmd+G launches go to folder panel and Cmd+N opens new
# app window.
#
# https://gist.github.com/3313481
#
# Since Mavericks you have to allow assistive access in system preferences
# -> privacy for System Events.app and ForkLift2.app, as well as osascript
# using this command:
#
# sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceAccessibility','/usr/bin/osascript',1,1,1,NULL)"
#
function fl {
if [ ! -z "$1" ]; then
DIR=$1
if [ ! -d "$DIR" ]; then
DIR=$(dirname $DIR)
fi
if [ "$DIR" != "." ]; then
PWD=`cd "$DIR";pwd`
fi
fi
osascript 2>&1 1>/dev/null <<END
tell application "ForkLift"
activate
end tell
tell application "System Events"
tell application process "ForkLift"
try
set topWindow to window 1
on error
keystroke "n" using command down
set topWindow to window 1
end try
keystroke "g" using {command down, shift down}
tell sheet 1 of topWindow
set value of text field 1 to "$PWD"
keystroke return
end tell
end tell
end tell
END
}

@ -56,12 +56,11 @@ zle -N self-insert url-quote-magic
# jobs
setopt long_list_jobs
# source some zsh and other plugins
# source some zsh plugins
source $HOME/dotfiles/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $HOME/dotfiles/zsh/zsh-completions/zsh-completions.plugin.zsh
source $HOME/dotfiles/zsh/forklift/forklift.plugin.zsh
# nice dircolors -- this requires installed coreutils and lscolors fallback
# nice dircolors for ls
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx

Loading…
Cancel
Save