Remove extraneous file

This commit is contained in:
Ilan Cosman 2020-06-13 14:17:50 -07:00
parent fb1a437e26
commit 77cea6cdc6

View File

@ -1,23 +0,0 @@
function _tide_pwd_var_change -v PWD
set -l preMaxDirsPwd (string replace $HOME '~' $PWD)
set -l preMaxDirsPwdSplit (string split --no-empty '/' $preMaxDirsPwd)
set -g _tide_split_pwd $preMaxDirsPwdSplit[(math -$tide_pwd_max_dirs)..-1]
set -g _tide_pwd (string join '/' $_tide_split_pwd)
set -g _tide_git_dir (git rev-parse --show-toplevel 2>/dev/null)
set -g _tide_pwd_anchors
if contains 'first' $tide_pwd_anchors
set -a _tide_pwd_anchors $_tide_split_pwd[1]
end
if contains 'last' $tide_pwd_anchors
set -a _tide_pwd_anchors $_tide_split_pwd[-1]
end
if contains 'git' $tide_pwd_anchors
set -a _tide_pwd_anchors (string replace $HOME '~' $_tide_git_dir | string split --no-empty -r -m1 '/')
end
_tide_pwd
end