1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 08:41:43 +00:00

Convert add-zsh-trap into a module

This commit is contained in:
Sorin Ionescu
2012-04-04 14:46:30 -04:00
parent d13b697792
commit c9b8ad569d
3 changed files with 53 additions and 40 deletions

View File

@ -62,6 +62,9 @@
# zstyle ':omz:module:git:ignore' submodule ''
#
# Load dependencies.
omodload 'trap'
# Gets the path to the Git directory.
function _git-dir {
local git_dir="${$(git rev-parse --git-dir):A}"