Skip to content

Commit

Permalink
Update plugin for fisher
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Jan 19, 2021
1 parent c171d3b commit abdd4a7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
19 changes: 19 additions & 0 deletions conf.d/cd.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set SOURCE_DIR (dirname (status -f))

if not functions -q __wrapped_cd
functions -c cd __wrapped_cd
functions -e cd
end

functions -c __plugin_cd cd

function _cd_uninstall --on-event cd_uninstall
functions -e cd

if functions -q __wrapped_cd
functions -c __wrapped_cd cd
functions -e __wrapped_cd
end

functions -e __plugin_cd
end
8 changes: 0 additions & 8 deletions init.fish

This file was deleted.

8 changes: 0 additions & 8 deletions uninstall.fish

This file was deleted.

0 comments on commit abdd4a7

Please sign in to comment.