From 2edb46c3e5a80e0ca8a10d927fafedb5c833689d Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sun, 31 May 2015 08:30:49 -0700 Subject: [PATCH] [split] Move z plugin to oh-my-fish/plugin-z https://github.com/oh-my-fish/plugin-z --- plugins/z/z.fish | 3 --- plugins/z/z.load | 9 --------- 2 files changed, 12 deletions(-) delete mode 100644 plugins/z/z.fish delete mode 100644 plugins/z/z.load diff --git a/plugins/z/z.fish b/plugins/z/z.fish deleted file mode 100644 index 31b8e3d..0000000 --- a/plugins/z/z.fish +++ /dev/null @@ -1,3 +0,0 @@ -function z - cd (bash -c "source $Z_SCRIPT_PATH; _z $argv; echo \$PWD") -end diff --git a/plugins/z/z.load b/plugins/z/z.load deleted file mode 100644 index cd91c75..0000000 --- a/plugins/z/z.load +++ /dev/null @@ -1,9 +0,0 @@ -if test -z "$Z_SCRIPT_PATH" - set -gx Z_SCRIPT_PATH /usr/local/etc/profile.d/z.sh -end - -function __check_z --on-variable PWD --description 'Setup z on directory change' - status --is-command-substitution; and return - - bash -c "source $Z_SCRIPT_PATH; _z --add `pwd -P`" -end