Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
O
oh-my-zsh
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • github
  • oh-my-zsh
  • Repository

Switch branch/tag
  • oh-my-zsh
  • plugins
  • dircycle
  • dircycle.plugin.zsh
Find file
BlameHistoryPermalink
  • Marc Cornellà's avatar
    dircycle: trigger appropriate hooks after directory change (#7161) · ac3b3453
    Marc Cornellà authored Oct 02, 2018
    This commit triggers precmd and chpwd hook functions iff we changed directory.
    
    This has the same behavior as zsh's hook function execution, which tries to run
    the functions in the order specified and silently ignores any function that
    does not exist.
    
    See http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions
    
    Also moved duplicate nopushdminus logic to the `switch-to-dir` function.
    ac3b3453
dircycle.plugin.zsh 1.55 KB
EditWeb IDE

Replace dircycle.plugin.zsh

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.